Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
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

2,210 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