Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)

Command: curl -s -d execute="select+*+from+nstest;" -d statusdir="1p" 'http://localhost:50111/templeton/v1/hive?user.name=hive'

1981-screen-shot-2016-02-10-at-85138-am.png

Let's insert some data and test again

1982-screen-shot-2016-02-10-at-85305-am.png

Wait for job to finish and the directory will show up on HDFS

You can monitor the job from RM UI

1983-screen-shot-2016-02-10-at-85346-am.png

More details: https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface

1,158 Views
Comments
Super Guru

@Neeraj Sabharwal I like this. Can you explain the reason for -d statusdir="1p"?

Expert Contributor
@Sunile Manjee

-d statusdir=<> this option is used to specify the hdfs directory to store the log files.( stdout,stderr) for the executed job.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
2 of 2
Last update:
‎08-17-2019 01:16 PM
Updated by:
 
Contributors
Top Kudoed Authors