[ 
https://issues.apache.org/jira/browse/AMBARI-19676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-19676:
-------------------------------------
    Attachment: AMBARI-19676.patch

> ZKFC start failed
> -----------------
>
>                 Key: AMBARI-19676
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19676
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19676.patch
>
>
>     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
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to