hive -- java.io.IOException: Cannot create an instance of InputSplit

hive -- java.io.IOException: Cannot create an instance of InputSplit 博客分类: hadoophbasehive hadoophbasehive&">nbsp; hive中执行:

select * from ht_custmer;  没问题;

执行:

select * from ht_customer where buycount>10;

报错:

java.io.IOException: Cannot create an instance of InputSplit class = org.apache.hadoop.hive.hbase.HBaseSplit:org.apache.hadoop.hive.hbase.HBaseSplit

是hive找不到此类,需要在 hive-site.xml中显性设置hive.aux.jars.path属性:

  <property>

    <name>hive.aux.jars.path</name>

    <value>file:///usr/lib/hive/lib/hive-hbase-handler-0.10.0-cdh4.2.0.jar,file:///usr/lib/hive/lib/hbase.jar,file:///usr/lib/hive/lib/zookeeper.jar</value>

  </property>

时间: 2024-09-12 14:33:46

hive -- java.io.IOException: Cannot create an instance of InputSplit的相关文章

struts1整合mybatis【java.io.IOException: Could not find resource configuration.xml】

问题描述 java.io.IOException: Could not find resource configuration.xmlat org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:89)at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:76)at org.apache.ibatis.io.Resources.getRe

java.io.IOException: CreateProcess error=3, ???????有高手知道怎么解决吗

问题描述 java.io.IOException:Cannotrunprogram"/usr/bin/nsupdate":CreateProcesserror=3,???????atjava.lang.ProcessBuilder.start(ProcessBuilder.java:459)atjava.lang.Runtime.exec(Runtime.java:593)atjava.lang.Runtime.exec(Runtime.java:431)atjava.lang.Run

Caused by: java.io.IOException: Filesystem closed的处理

org.apache.hadoop.hive.ql.metadata.HiveException: Unable to rename output from: hdfs://nameservice/user/hive/warehouse/om_dw.db/mac_wifi_day_data/tid=CYJOY/.hive-staging_hive_2016-01-20_10-19-09_200_1283758166994658237-1/_task_tmp.-ext-10002/c_date=2

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

1:这个问题都被大家玩烂了,这里我也记载一下,方便以后脑补: 1 SLF4J: Class path contains multiple SLF4J bindings. 2 SLF4J: Found binding in [jar:file:/E:/360Downloads/hadoop-2.4.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] 3 SLF4J:

在eclipse的console栏中一直显示java.io.IOException

在eclipse的console栏中一直显示java.io.IOException: 您的主机中的软件中止了一个已建立错误.具体如下. [2013-09-02 17:24:14 - ddmlib] 您的主机中的软件中止了一个已建立的连接. java.io.IOException: 您的主机中的软件中止了一个已建立的连接. at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.writ

jsp标签-在JSP中抛出java.io.IOException: tmpFile.renameTo(classFile) failed异常怎么解决

问题描述 在JSP中抛出java.io.IOException: tmpFile.renameTo(classFile) failed异常怎么解决 在JSP中抛出java.io.IOException: tmpFile.renameTo(classFile) failed异常怎么解决 解决方案 你确定不是控制台抛出而是JSP抛出! 解决方案二: java.io.IOException: tmpFile.renameTo(classFile) failedjava.io.IOException:

Execute failed: java.io.IOException: Cannot run program &amp;quot;sdk-linux/build-tools/22.0.0/aapt&amp;quot;: error=2

在Linux上使用ant编译打包apk的时候,出现下面的错误及解决方法: 1./usr/local/android-sdk-linux/tools/ant/build.xml:698: Execute failed: java.io.IOException: Cannot run program "/usr/local/android-sdk-linux/build-tools/22.0.0/aapt": error=2, No such file or directory BUILD

hadoop错误,重新格式化namenode后,出现java.io.IOException Incompatible clusterIDs

错误:     java.io.IOException: Incompatible clusterIDs in /data/dfs/data: namenode clusterID = CID-d1448b9e-da0f-499e-b1d4-78cb18ecdebb; datanode clusterID = CID-ff0faa40-2940-4838-b321-98272eb0dee3 原因:     每次namenode format会重新创建一个namenodeId,而data目录包含了

java.io.IOException: Server returned HTTP response code: 505 for URL

问题描述 碰到个很奇怪的问题:代码如下:URL url = new URL(urlStr);URLConnection hpCon = url.openConnection();InputStream in = hpCon.getInputStream(); 然后我发送的一个URL是 : http://localhost:8000/account/accountTo.query?param=SR4A V12f报错:java.io.IOException: Server returned HTTP