hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Clark <gcl...@neces.com>
Subject RE: start hiveserver2 failed need help
Date Mon, 03 Aug 2015 21:25:10 GMT
For the sake of the hive user community could you post how you resolve it :)

Thanks,
Gary Clark

From: Garry Chen [mailto:gc92@cornell.edu]
Sent: Monday, August 03, 2015 4:24 PM
To: user@hive.apache.org
Subject: RE: start hiveserver2 failed need help

I found the problem and case solved.

Garry

From: Garry Chen [mailto:gc92@cornell.edu]
Sent: Monday, August 03, 2015 5:01 PM
To: user@hive.apache.org<mailto:user@hive.apache.org>
Subject: start hiveserver2 failed need help


Hi all,

            When I try to start hiveserer2 failed with following error.  It was running but
after the server reboot hiveeserver2 will not start. Please help.  Thank you very much.

Garry



2015-08-03 16:57:07,677 WARN  [main]: server.HiveServer2 (HiveServer2.java:startHiveServer2(330))
- Error starting HiveServer2 on attempt 1, will retry in 60 seconds

java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Permission denied
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:472)
        at org.apache.hive.service.cli.CLIService.applyAuthorizationConfigPolicy(CLIService.java:124)
        at org.apache.hive.service.cli.CLIService.init(CLIService.java:111)
        at org.apache.hive.service.CompositeService.init(CompositeService.java:59)
        at org.apache.hive.service.server.HiveServer2.init(HiveServer2.java:92)
        at org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:309)
        at org.apache.hive.service.server.HiveServer2.access$400(HiveServer2.java:68)
        at org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:523)
        at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:396)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.RuntimeException: java.io.IOException: Permission denied
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:465)
        ... 14 more
Caused by: java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:1006)
        at java.io.File.createTempFile(File.java:1989)
        at org.apache.hadoop.hive.ql.session.SessionState.createTempFile(SessionState.java:740)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:463)
        ... 14 more
2015-08-03 16:57:07,678 INFO  [main]: server.HiveServer2 (HiveServer2.java:stop(269)) - Shutting
down HiveServer2

Mime
View raw message