Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19676

ZKFC start failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py", line 224, in <module>
      ZkfcSlave().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py", line 73, in start
      ZkfcSlaveDefault.start_static(env, upgrade_type)
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py", line 99, in start_static
      create_log_dir=True
      File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py", line 271, in service
      Execute(daemon_cmd, not_if=process_id_exists_command, environment=hadoop_env_exports)
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in _init_
      self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
      self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
      provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
      tries=self.resource.tries, try_sleep=self.resource.try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
      result = function(command, **kwargs)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
      tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
      result = _call(command, **kwargs_copy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
      raise ExecutionFailed(err_msg, code, out, err)
      resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh --config /usr/hdp/current/hadoop-client/conf start zkfc'' returned 1. /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.client.username=zookeeper': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Djava.security.auth.login.config=/usr/hdp/current/hadoop-client/conf/secure/hdfs_jaas.conf': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.clientconfig=Client': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.client.username=zookeeper': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Djava.security.auth.login.config=/usr/hdp/current/hadoop-client/conf/secure/hdfs_jaas.conf': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.clientconfig=Client': not a valid identifier
      starting zkfc, logging to /grid/0/log/hdfs/hdfs/hadoop-hdfs-zkfc-ctr-e125-1484958108044-0868-01-000005.hwx.site.out
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.client.username=zookeeper': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Djava.security.auth.login.config=/usr/hdp/current/hadoop-client/conf/secure/hdfs_jaas.conf': not a valid identifier
      /usr/hdp/current/hadoop-client/conf/hadoop-env.sh: line 123: export: `-Dzookeeper.sasl.clientconfig=Client': not a valid identifier

      Attachments

        1. AMBARI-19676.patch
          2 kB
          Andrew Onischuk
        2. AMBARI-19676.patch
          2 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: