spark-flamegraph icon indicating copy to clipboard operation
spark-flamegraph copied to clipboard

Manifest file issue with statsd

Open nikitawasthi20 opened this issue 3 years ago • 2 comments

Error opening zip file or JAR manifest missing : /home/hadoop/.spark-flamegraph/statsd-jvm-profiler.jar

Getting the above error with the script. Tried to modify the manifest file with the Main-class but still got the error. Any help would be appreciated

nikitawasthi20 avatar Jun 09 '21 14:06 nikitawasthi20

Can you try removing /home/hadoop/.spark-flamegraph/ directory, and re-running the script?

spektom avatar Jun 09 '21 15:06 spektom

I tried that but it did not help. The spark job fails with an exit code of 1 `Exit code: 1 Stack trace: ExitCodeException exitCode=1: at org.apache.hadoop.util.Shell.runCommand(Shell.java:972) at org.apache.hadoop.util.Shell.run(Shell.java:869) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1170) at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:235) 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:83) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Container exited with a non-zero exit code 1 For more detailed output, check the application tracking page`

On checking the container logs, I see this error Error opening zip file or JAR manifest missing : /home/hadoop/.spark-flamegraph/statsd-jvm-profiler.jar

nikitawasthi20 avatar Jun 09 '21 16:06 nikitawasthi20