1.in our product-line,we used hadoop2.2,no hadoop2.4 ,It mean we cant use 
slider?

2.when I install slider 0.4.0 I found this log in hamster container.it doesn’t 
work.
  my config ---slider-client.xml  yarn.application.classpath is right, it work 
in slider0.6.0.
  my system config profile hadoop_home hadoop_classpath hadoop_conf_dir is 
right ,
  I cant find any config about hadoop. This problem found in slider-0.30.
  In my system shell run hadoop is right.
  I found a file slider-env.sh after slider-0.4.0,why the slider-0.4.0 no use 
it.

  Log:
2014-12-09 03:02:16,053 - Error while executing command 'start':
Traceback (most recent call last):
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/libraries/script/script.py",
 line 114, in execute
    method(env)
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/app/definition/package/scripts/hbase_master.py",
 line 41, in start
    self.configure(env) # for security
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/app/definition/package/scripts/hbase_master.py",
 line 36, in configure
    hbase(name='master')
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/filecache/11/hbase0983s4.zip/package/scripts/hbase.py",
 line 37, in hbase
    params.HdfsDirectory(None, action="create")
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/base.py",
 line 148, in __init__
    self.env.run()
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/environment.py",
 line 149, in run
    self.run_action(resource, action)
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/environment.py",
 line 115, in run_action
    provider_action()
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/libraries/providers/hdfs_directory.py",
 line 108, in action_create
    not_if=format("hadoop fs -ls {dir_list_str}")
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/base.py",
 line 148, in __init__
    self.env.run()
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/environment.py",
 line 149, in run
    self.run_action(resource, action)
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/environment.py",
 line 115, in run_action
    provider_action()
  File 
"/hdfs/data1/tmp/nm-local-dir/usercache/ocean/appcache/application_1418109515875_0005/container_1418109515875_0005_01_000002/infra/agent/slider-agent/resource_management/core/providers/system.py",
 line 239, in action_run
    raise ex
Fail: Execution of 'hadoop fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || 
echo "-p"` hdfs://OCNoSQLBJ/user/ocean/.slider/cluster/s48/database/data 
hdfs://OCNoSQLBJ/user/ocean/.slider/cluster/s48/database/staging && hadoop fs 
-chmod  711 hdfs://OCNoSQLBJ/user/ocean/.slider/cluster/s48/database/staging' 
returned 127. /bin/bash: hadoop: command not found

Reply via email to