Silly question but...

2015-01-20 15:01:45,366 INFO [IPC Server handler 0 on 41329]
org.apache.tez.dag.app.rm.container.AMContainerImpl: AMContainer
container_1420748315294_70716_01_000002 transitioned from IDLE to
RUNNING via event C_PULL_TA
2015-01-20 15:01:45,366 INFO [IPC Server handler 0 on 41329]
org.apache.tez.dag.app.TaskAttemptListenerImpTezDag: Container with
id: container_1420748315294_70716_01_000002 given task:
attempt_1420748315294_70716_1_01_000000_0
2015-01-20 15:01:45,367 INFO [AsyncDispatcher event handler]
org.apache.hadoop.yarn.util.RackResolver: Resolved
production-hadoop-cdh-64-77.use1.huffpo.net to /default
2015-01-20 15:01:45,369 INFO [AsyncDispatcher event handler]
org.apache.tez.dag.app.dag.impl.TaskAttemptImpl: TaskAttempt:
[attempt_1420748315294_70716_1_01_000000_0] started. Is using
containerId: [container_1420748315294_70716_01_000002] on NM:
[production-hadoop-cdh-64-77.use1.huffpo.net:8041]
2015-01-20 15:01:45,374 INFO [AsyncDispatcher event handler]
org.apache.tez.dag.history.HistoryEventHandler:
[HISTORY][DAG:dag_1420748315294_70716_1][Event:TASK_ATTEMPT_STARTED]:
vertexName=Map 1,
taskAttemptId=attempt_1420748315294_70716_1_01_000000_0,
startTime=1421766105367,
containerId=container_1420748315294_70716_01_000002,
nodeId=production-hadoop-cdh-64-77.use1.huffpo.net:8041,
inProgressLogs=production-hadoop-cdh-64-77.use1.huffpo.net:8042/node/containerlogs/container_1420748315294_70716_01_000002/ecapriolo,
completedLogs=
2015-01-20 15:01:45,374 INFO [AsyncDispatcher event handler]
org.apache.tez.dag.app.dag.impl.TaskAttemptImpl:
attempt_1420748315294_70716_1_01_000000_0 TaskAttempt Transitioned
from START_WAIT to RUNNING due to event TA_STARTED_REMOTELY
2015-01-20 15:01:45,375 INFO [AsyncDispatcher event handler]
org.apache.tez.common.counters.Limits: Counter limits initialized with
parameters:  GROUP_NAME_MAX=128, MAX_GROUPS=500, COUNTER_NAME_MAX=64,
MAX_COUNTERS=1200
2015-01-20 15:01:45,384 INFO [AsyncDispatcher event handler]
org.apache.tez.dag.app.dag.impl.TaskImpl:
task_1420748315294_70716_1_01_000000 Task Transitioned from SCHEDULED
to RUNNING
2015-01-20 15:01:45,758 INFO [IPC Server handler 2 on 41329]
org.apache.tez.dag.app.dag.impl.TaskImpl:
TaskAttempt:attempt_1420748315294_70716_1_01_000000_0 sent events:
(0-1)
2015-01-20 15:01:49,495 INFO [AMRM Callback Handler Thread]
org.apache.tez.dag.app.rm.TaskScheduler: Allocated container
completed:container_1420748315294_70716_01_000002 last allocated to
task: attempt_1420748315294_70716_1_01_000000_0
2015-01-20 15:01:49,498 INFO [AsyncDispatcher event handler]
org.apache.tez.dag.app.rm.container.AMContainerImpl: Container
container_1420748315294_70716_01_000002 exited with diagnostics set to
Exception from container-launch.
Container id: container_1420748315294_70716_01_000002
Exit code: 255
Stack trace: ExitCodeException exitCode=255:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:197)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:299)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
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)

Is there any way to log the command being run that causes then shell to fail?

On Tue, Jan 20, 2015 at 2:09 PM, Edward Capriolo <[EMAIL PROTECTED]>
wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB