You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Michael Miklavcic (JIRA)" <ji...@apache.org> on 2017/05/25 20:09:04 UTC

[jira] [Created] (METRON-971) Zeppelin dashboard throws SIGTERM exception on full dev

Michael Miklavcic created METRON-971:
----------------------------------------

             Summary: Zeppelin dashboard throws SIGTERM exception on full dev
                 Key: METRON-971
                 URL: https://issues.apache.org/jira/browse/METRON-971
             Project: Metron
          Issue Type: Bug
         Environment: full dev
            Reporter: Michael Miklavcic


Installed Zeppelin with all defaults on full dev after a complete base install via Ansible/Vagrant. Installed the Metron Zeppelin dashboards via Ambari->Metron->Services. Install appears to run correctly. I ran pcap data into the pcap topology via pycapa. Multiple files were created in hdfs /apps/metron/pcap. I ran the default query in Zeppelin and received the following error:
{code}
find: `/usr/lib64/audit': Permission denied
Paragraph received a SIGTERM.
ExitValue: 143
{code}

The Zeppelin logs show the following:
{code}
cat /var/log/zeppelin/zeppelin-interpreter-sh-zeppelin-node1.log

 INFO [2017-05-25 19:48:43,001] ({Thread-0} RemoteInterpreterServer.java[run]:81) - Starting remote interpreter server on port 34219
 INFO [2017-05-25 19:48:43,714] ({pool-1-thread-4} RemoteInterpreterServer.java[createInterpreter]:169) - Instantiate interpreter org.apache.zeppelin.shell.ShellInterpreter
 INFO [2017-05-25 19:48:43,839] ({pool-2-thread-2} SchedulerFactory.java[jobStarted]:131) - Job remoteInterpretJob_1495741723836 started by scheduler org.apache.zeppelin.shell.ShellInterpreter1840985006
 INFO [2017-05-25 19:48:43,843] ({pool-2-thread-2} ShellInterpreter.java[open]:61) - Command timeout property: 60000
ERROR [2017-05-25 19:49:58,668] ({pool-2-thread-2} ShellInterpreter.java[interpret]:98) - Can not run export PCAP_ZEPPELIN_RUN=$(find /usr -name pcap_zeppelin_run.sh)
export RECORDS_PER_FILE=10000
export NUMBER_OF_REDUCERS=10
export DATE_FORMAT="yyyyMMdd"
export PCAP_DATA_PATH="/apps/metron/pcap"

$PCAP_ZEPPELIN_RUN "BYTEARRAY_MATCHER('\'/api/v1\'', packet) && ip_dst_port == 8080" "20170428" ""
org.apache.commons.exec.ExecuteException: Process exited with an error: 143 (Exit value: 143)
        at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
        at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
        at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
        at org.apache.zeppelin.shell.ShellInterpreter.interpret(ShellInterpreter.java:92)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
 INFO [2017-05-25 19:49:58,707] ({pool-2-thread-2} ShellInterpreter.java[interpret]:104) - The paragraph 20170428-181957_829993114 stopped executing: find: `/usr/lib64/audit': Permission denied
Paragraph received a SIGTERM.

 INFO [2017-05-25 19:49:58,797] ({pool-2-thread-2} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1495741723836 finished by scheduler org.apache.zeppelin.shell.ShellInterpreter1840985006
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)