Hive报错[ERROR] Failed with exception java.io.IOException:java.lang.IllegalArgumentException
2016-10-19 21:09
936 查看
Hive报错[ERROR] Failed with exception java.io.IOException:java.lang.IllegalArgumentException:
java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name}
解决方法:新建文件夹
../apache-hive-1.2.1-bin/iotmp,进入apache-hive-1.2.1-bin -> conf -> hive-site.xml,
添加属性 system:java.io.tmpdir:
<property>
<name>system:java.io.tmpdir</name>
<value>../apache-hive-1.2.1-bin/iotmp</value> ##注意这里路径为本机上的绝对路径
<description/>
</property>
如果还是不行
继续在hive-site.xml中,
将hive.exec.local.scratchdir
${system:java.io.tmpdir}/${ system:user.name}
改成:
hive.exec.local.scratchdir
${ java.io.tmpdir}/${ user.name}
java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name}
解决方法:新建文件夹
../apache-hive-1.2.1-bin/iotmp,进入apache-hive-1.2.1-bin -> conf -> hive-site.xml,
添加属性 system:java.io.tmpdir:
<property>
<name>system:java.io.tmpdir</name>
<value>../apache-hive-1.2.1-bin/iotmp</value> ##注意这里路径为本机上的绝对路径
<description/>
</property>
如果还是不行
继续在hive-site.xml中,
将hive.exec.local.scratchdir
${system:java.io.tmpdir}/${ system:user.name}
改成:
hive.exec.local.scratchdir
${ java.io.tmpdir}/${ user.name}
相关文章推荐
- hive命令出现问题Failed with exception Java.io.IOException:java.lang.IllegalArgumentException: java.NET.URI
- hive命令出现问题Failed with exception Java.io.IOException:java.lang.IllegalArgumentException: java.NET.UR
- Failed with exception java.io.IOException:java.lang.IllegalArgumentException:&nbs
- java.lang.IllegalArgumentException: already added ...Conversion to Dalvik format failed with error 1解决办法
- Spring context initialization failed with java.lang.IllegalArgumentException
- struts2下载文件错误信息java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name
- Kafka日志报错:[error] k.m.j.KafkaJMX$ - Failed to connect to service:jmx:rmi:///jndi/rmi://10.1.3.116:-1/jmxrmi java.lang.IllegalArgumentException: requirement failed: No jmx port but jmx polling enabled!
- ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.IllegalArgumentException: File logon mus
- HwLauncher﹕ Launcher dialog dismiss failed : java.lang.IllegalArgumentException: no dialog with id 1
- 异常:Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentExceptio
- java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [downloadFile]
- 报错:java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [download
- hive异常 java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7
- FAILED: Hive Internal Error: java.lang.RuntimeException(Error while making MR scratch directory异常的解决
- Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'sqlMapClient' is required的解决办法及详细介绍
- hive 报错FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient FAILED: Execu
- JBOSS报错:Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException
- failed in state INITED; cause: java.lang.IllegalArgumentException: Does not contain a valid host:por
- java.lang.IllegalArgumentException: taglib definition not consistent with specification version
- Error starting static Resources java.lang.IllegalArgumentException