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]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

INSERT COMMAND HANGING

avatar
Super Collaborator

Iam using HDC2.4 with ambari 2.2.1 , If I insert a record into a table it just hangs , how can I debug ?

"0: jdbc:hive2://MasterNode:10000> INSERT INTO customers (id, firstname, lastname) VALUES (1, 'John', 'Smith'); INFO : Tez session hasn't been created yet. Opening session

"

1 ACCEPTED SOLUTION

avatar
Super Collaborator

I found the answer on google, changing the below parameter from 0.2 to 0.7 fixed the issue.

yarn.scheduler.capacity.maximum-am-resource-percent=0.7

thanks all for your help n feedback

View solution in original post

11 REPLIES 11

avatar
Super Collaborator

don't I have to kill the hive session first and then run it in background as :

nohup

($HIVE_HOME/bin/hive --hiveconf hive.root.logger=DEBUG,DRFA

&

how can I find out what is $HIVE_HOME ?

avatar
Super Collaborator

I found the answer on google, changing the below parameter from 0.2 to 0.7 fixed the issue.

yarn.scheduler.capacity.maximum-am-resource-percent=0.7

thanks all for your help n feedback