Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Hive resolves hive-site.xml configuration issues

Shulou Source: shulou.com Published: 2022-06-03 07:02:29 11月23日 Update

Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D

At org.apache.hadoop.fs.Path.initialize (Path.java:206)

At org.apache.hadoop.fs.Path. (Path.java:172)

At org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs (SessionState.java:563)

At org.apache.hadoop.hive.ql.session.SessionState.start (SessionState.java:508)

... 7 more

Caused by: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D

At java.net.URI.checkPath (URI.java:1823)

At java.net.URI. (URI.java:745)

At org.apache.hadoop.fs.Path.initialize (Path.java:203)

... 10 more

Resolve:

1. Create a directory: / home/hive/data

2. Put ${system:java.io.tmpdir} / ${Bsystem:user.name} in the hive-site.xml file

Replace it with / home/hive/data

Tags: Files directories questions configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Linux Docker MySQL Microsoft