Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-23943. Hiveserver2 fails to start on viewFS enabled cluster #1365

Merged
merged 1 commit into from May 24, 2018

Conversation

aonishuk
Copy link
Contributor

@aonishuk aonishuk commented May 24, 2018

On viewfs cluster fast-hdfs-resource won't create files and dirs

-bash-4.2$ hadoop --config /usr/hdp/3.0.0.0-1345/hadoop/conf jar /var/lib/ambari-agent/cache/stack-hooks/before-START/files/fast-hdfs-resource.jar /var/lib/ambari-agent/tmp/hdfs_resources_1527064240.05.json
Using filesystem uri: viewfs://cl1
Creating: Resource [source=null, target=/tmp, type=directory, action=create, owner=hdfs, group=null, mode=777, recursiveChown=false, recursiveChmod=false, changePermissionforParents=false, manageIfExists=true]
Exception occurred, Reason: Directory/File does not exist /tmp
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkOwner(FSDirectory.java:1777)
	at org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setPermission(FSDirAttrOp.java:63)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setPermission(FSNamesystem.java:1878)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setPermission(NameNodeRpcServer.java:859)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setPermission(ClientNamenodeProtocolServerSideTranslatorPB.java:518)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1682)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)

…hive_server2_zookeeper_namespace} is not ready yet (aonishuk)
@aonishuk aonishuk self-assigned this May 24, 2018
@asfgit
Copy link

asfgit commented May 24, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2436/
Test PASSed.

@adoroszlai adoroszlai requested a review from zeroflag May 24, 2018 10:01
@aonishuk aonishuk merged commit 66badb9 into apache:trunk May 24, 2018
@aonishuk aonishuk deleted the AMBARI-23943-trunk branch May 24, 2018 10:33
@asfgit
Copy link

asfgit commented May 24, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2438/
Test PASSed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants