ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sekhon (JIRA)" <>
Subject [jira] [Created] (AMBARI-10519) Ambari 2.0 stack upgrade HDP => breaks on HDFS HA JournalNode rollEdits: "Access denied for user jn. Superuser privilege is required"
Date Thu, 16 Apr 2015 11:02:58 GMT
Hari Sekhon created AMBARI-10519:

             Summary: Ambari 2.0 stack upgrade HDP => breaks on HDFS HA
JournalNode rollEdits: "Access denied for user jn. Superuser privilege is required"
                 Key: AMBARI-10519
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server, stacks
    Affects Versions: 2.0.0
         Environment: HDP =>
            Reporter: Hari Sekhon
            Priority: Blocker
         Attachments: errors-5550.txt, output-5550.txt

During upgrade of HDP stack => with Ambari 2.0 the procedure fails with
the following error:
2015-04-16 11:56:02,083 - Ensuring Journalnode quorum is established
2015-04-16 11:56:02,083 - u"Execute['/usr/bin/kinit -kt /etc/security/keytabs/jn.service.keytab
jn/;']" {'user': 'hdfs'}
2015-04-16 11:56:07,320 - u"Execute['hdfs dfsadmin -rollEdits']" {'tries': 1, 'user': 'hdfs'}
2015-04-16 11:56:13,198 - Error while executing command 'restart':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 214, in execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 374, in restart
  File "/var/lib/ambari-agent/cache/common-services/HDFS/",
line 72, in post_rolling_restart
  File "/var/lib/ambari-agent/cache/common-services/HDFS/",
line 42, in post_upgrade_check
  File "/var/lib/ambari-agent/cache/common-services/HDFS/",
line 83, in hdfs_roll_edits
    Execute(command, user=params.hdfs_user, tries=1)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 118,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
274, in action_run
    raise ex
Fail: Execution of 'hdfs dfsadmin -rollEdits' returned 255. rollEdits: Access denied for user
jn. Superuser privilege is required
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSuperuserPrivilege(
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkSuperuserPrivilege(
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.rollEditLog(
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.rollEdits(
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.rollEdits(
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$
	at org.apache.hadoop.ipc.RPC$
	at org.apache.hadoop.ipc.Server$Handler$
	at org.apache.hadoop.ipc.Server$Handler$
	at Method)
	at org.apache.hadoop.ipc.Server$

2015-04-16 11:56:13,291 - Command: /usr/bin/hdp-select status hadoop-hdfs-journalnode >
Output: hadoop-hdfs-journalnode -

Hari Sekhon

This message was sent by Atlassian JIRA

View raw message