-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55844/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-19676
https://issues.apache.org/jira/browse/AMBARI-19676
Repository: ambari
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
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml
114c965
ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/hadoop-env.xml
0fbc67e
ambari-server/src/main/resources/stacks/HDP/2.4/services/HDFS/configuration/hadoop-env.xml
6d9eaf0
Diff: https://reviews.apache.org/r/55844/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk