2633943 - Cannot connect to Hive - SAP Cloud Platform BDS | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2633943 - Cannot connect to Hive - SAP Cloud Platform BDS

Symptom

Below error is returned after running command hive on the workbench:

Logging initialized using configuration in file:/etc/hive-1.2.1/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to create log directory /tmp/hive/scratch/<workbench_user>
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

Caused by: java.lang.RuntimeException: Unable to create log directory /tmp/hive/scratch/<workbench_user>
        at org.apache.hadoop.hive.ql.session.SessionState.createTempFile(SessionState.java:813)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:513)
        ... 8 more


Read more...

Environment

  • SAP Cloud Platform Big Data Services (BDS) 4.3
  • SAP Cloud Platform Big Data Services (BDS) 5.0

Product

SAP Cloud Platform Big Data Services all versions

Keywords

altiscale , KBA , BC-NEO-BDS , HCP Big Data Service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.