ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <rle...@hortonworks.com>
Subject Re: Review Request 36332: Rack Awareness : topology_script.py is not available on HMaster machine
Date Wed, 08 Jul 2015 21:19:49 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36332/#review90997
-----------------------------------------------------------

Ship it!


Ship It!

- Robert Levas


On July 8, 2015, 5:13 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36332/
> -----------------------------------------------------------
> 
> (Updated July 8, 2015, 5:13 p.m.)
> 
> 
> Review request for Ambari and Robert Levas.
> 
> 
> Bugs: AMBARI-12342
>     https://issues.apache.org/jira/browse/AMBARI-12342
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> topology_script.py is not available on HMaster machine.
> 
> HMaster Log:
>     java.io.IOException: Cannot run program "/etc/hadoop/conf/topology_script.py" (in
directory "/run/hbase"): error=2, No such file or directory
>     	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
>     	at org.apache.hadoop.util.Shell.runCommand(Shell.java:485)
>     	at org.apache.hadoop.util.Shell.run(Shell.java:455)
>     	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
>     	at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.runResolveCommand(ScriptBasedMapping.java:251)
>     	at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.resolve(ScriptBasedMapping.java:188)
>     	at org.apache.hadoop.net.CachedDNSToSwitchMapping.resolve(CachedDNSToSwitchMapping.java:119)
>     	at org.apache.hadoop.hbase.master.RackManager.getRack(RackManager.java:66)
>     	at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.<init>(BaseLoadBalancer.java:184)
>     	at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.createCluster(BaseLoadBalancer.java:966)
>     	at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.randomAssignment(BaseLoadBalancer.java:1010)
>     	at org.apache.hadoop.hbase.master.AssignmentManager.getRegionPlan(AssignmentManager.java:2262)
>     	at org.apache.hadoop.hbase.master.AssignmentManager.handleRegion(AssignmentManager.java:951)
>     	at org.apache.hadoop.hbase.master.AssignmentManager$6.run(AssignmentManager.java:1379)
>     	at org.apache.hadoop.hbase.master.AssignmentManager$3.run(AssignmentManager.java:1181)
>     	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     	at java.lang.Thread.run(Thread.java:745)
>     Caused by: java.io.IOException: error=2, No such file or directory
> 	    at java.lang.UNIXProcess.forkAndExec(Native Method)
>     	at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
>     	at java.lang.ProcessImpl.start(ProcessImpl.java:130)
>     	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
> 	    ... 19 more
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py
a3fdef9 
>   ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 5da1679 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
0895b7e 
> 
> Diff: https://reviews.apache.org/r/36332/diff/
> 
> 
> Testing
> -------
> 
> Manual tested
> 
> Unit tests updated
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message