- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hive Error - transport error 202: bind failed: Address already in use
- Labels:
-
Apache Hive
Created ‎01-05-2016 12:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-05-2016 07:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the error you posted it seems that the default debug port is already taken. You can change the default port by following invocation
hive --debug:port=8101
Created ‎01-05-2016 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Nilesh Try this hive --hiveconf hive.root.logger=DEBUG,console
Created ‎01-05-2016 01:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried this command hive --hiveconf hive.root.logger=DEBUG,console and getting below error on screen.
16/01/05 18:29:03 [IPC Client (79644918) connection to nn1.hortonwork.local/192.168.3.138:8050 from hive]: DEBUG ipc.Client: IPC Client (79644918) connection to nn1.hortonwork.local/192.168.3.138:8050 from hive got value #127 16/01/05 18:29:03 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getApplicationReport took 7ms
PFA an error file.
Created ‎01-05-2016 07:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the error you posted it seems that the default debug port is already taken. You can change the default port by following invocation
hive --debug:port=8101
Created ‎01-06-2016 06:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I run hive --debug:port=8101 command in terminal but there is no activity on screen. Also hive command is unresponsive. stuck on below output.
[hive@nn1 ~]$ hive WARNING: Use "yarn jar" to launch YARN applications. 16/01/06 11:43:29 WARN conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist Logging initialized using configuration in file:/etc/hive/2.3.2.0-2950/0/hive-log4j.properties
Created ‎01-06-2016 07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is your goal? The above command is to start hive cli to enable Java debugging, the expectation is that you attach your debugger to the port and then step through the code. The reason its stuck is that its waiting for you to attach the debugger.
Created ‎01-06-2016 08:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hive is not started via command and stuck on below output.
[hive@nn1 ~]$ hive WARNING: Use "yarn jar" to launch YARN applications. 16/01/06 17:37:07 WARN conf.HiveConf: HiveConf of name hive.server2.enable.impersonation does not exist Logging initialized using configuration in file:/etc/hive/2.3.2.0-2950/0/hive-log4j.properties
Created ‎01-06-2016 02:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Team, any updates
Created ‎01-06-2016 11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If i understand you correctly, you are saying even invocation of "hive" without any arguments is stuck. That can likely happen if there is no capacity on YARN Resource Manager available. Can you check the RM UI?
Created ‎01-07-2016 07:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, Hive is stuck without any arguments. How can check capacity on YARN Resource Manager from RM UI?
