Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Master Mentor

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

3,172 Views
Comments
avatar
Master Guru

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

avatar
Super Collaborator
@Sunile Manjee

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

Version history
Last update:
‎08-17-2019 01:16 PM
Updated by:
Contributors