spektom / spark-flamegraph

Easy CPU Profiling for Apache Spark applications
Apache License 2.0
45 stars 12 forks source link

run test failed #11

Open HatakeKakaxi opened 3 years ago

HatakeKakaxi commented 3 years ago

Hi, I tried to run the script ' run-tests.sh ' in the directory but got an error :

tests/empty_arguments ... failed

Expected: spark-submit --jars /home/cluster/.spark-flamegraph/statsd-jvm-profiler.jar --conf spark.executor.extraJavaOptions=-javaagent:statsd-jvm-profiler.jar=server=.*,port=.*,reporter=InfluxDBReporter,database=profiler,username=profiler,password=profiler,prefix=sparkapp,tagMapping=spark --driver-java-options -javaagent:/home/cluster/.spark-flamegraph/statsd-jvm-profiler.jar=server=.*,port=.*,reporter=InfluxDBReporter,database=profiler,username=profiler,password=profiler,prefix=sparkapp,tagMapping=spark
   Actual:   ERROR: Can't find unused port in range 48080-65000

Could you please tell me how to solve this problem ?

spektom commented 3 years ago

Can you please try running the same script with -x parameter, and post the output? (bash -x run-tests.sh).