shunping commented on issue #30513:
URL: https://github.com/apache/beam/issues/30513#issuecomment-1989367856

   It first failed on https://github.com/apache/beam/actions/runs/8210266873.
   
   The failed task is 
`:sdks:python:test-suites:portable:py38:portableWordCountSparkRunnerBatch`.
   
   Traceback:
   ```
   INFO:apache_beam.utils.subprocess_server:Starting service with ('java' 
'-jar' 
'/runner/_work/beam/beam/runners/spark/3/job-server/build/libs/beam-runners-spark-3-job-server-2.56.0-SNAPSHOT.jar'
 '--spark-master-url' 'local[4]' '--artifacts-dir' 
'/tmp/beam-temp8q8022zi/artifactsg6e8usou' '--job-port' '56313' 
'--artifact-port' '0' '--expansion-port' '0')
   INFO:apache_beam.utils.subprocess_server:Error: A JNI error has occurred, 
please check your installation and try again
   INFO:apache_beam.utils.subprocess_server:Exception in thread "main" 
java.lang.NoClassDefFoundError: 
org/apache/beam/vendor/grpc/v1p60p1/io/grpc/BindableService
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.defineClass1(Native Method)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.defineClass(ClassLoader.java:757)
   INFO:apache_beam.utils.subprocess_server:    at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader.access$100(URLClassLoader.java:74)
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader$1.run(URLClassLoader.java:369)
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader$1.run(URLClassLoader.java:363)
   INFO:apache_beam.utils.subprocess_server:    at 
java.security.AccessController.doPrivileged(Native Method)
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader.findClass(URLClassLoader.java:362)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:419)
   INFO:apache_beam.utils.subprocess_server:    at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:352)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.Class.getDeclaredMethods0(Native Method)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.Class.getMethod0(Class.java:3018)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.Class.getMethod(Class.java:1784)
   INFO:apache_beam.utils.subprocess_server:    at 
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:670)
   INFO:apache_beam.utils.subprocess_server:    at 
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:652)
   INFO:apache_beam.utils.subprocess_server:Caused by: 
java.lang.ClassNotFoundException: 
org.apache.beam.vendor.grpc.v1p60p1.io.grpc.BindableService
   INFO:apache_beam.utils.subprocess_server:    at 
java.net.URLClassLoader.findClass(URLClassLoader.java:387)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:419)
   INFO:apache_beam.utils.subprocess_server:    at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
   INFO:apache_beam.utils.subprocess_server:    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:352)
   INFO:apache_beam.utils.subprocess_server:    ... 19 more
   ERROR:apache_beam.utils.subprocess_server:Started job service with ('java', 
'-jar', 
'/runner/_work/beam/beam/runners/spark/3/job-server/build/libs/beam-runners-spark-3-job-server-2.56.0-SNAPSHOT.jar',
 '--spark-master-url', 'local[4]', '--artifacts-dir', 
'/tmp/beam-temp8q8022zi/artifactsg6e8usou', '--job-port', '56313', 
'--artifact-port', '0', '--expansion-port', '0')
   ERROR:apache_beam.utils.subprocess_server:Error bringing up service
   Traceback (most recent call last):
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/utils/subprocess_server.py", 
line 175, in start
       raise RuntimeError(
   RuntimeError: Service failed to start up with error 1
   Traceback (most recent call last):
     File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 
194, in _run_module_as_main
       return _run_code(code, main_globals, None,
     File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 
87, in _run_code
       exec(code, run_globals)
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/examples/wordcount.py", line 
111, in <module>
       run()
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/examples/wordcount.py", line 
106, in run
       output | 'Write' >> WriteToText(known_args.output)
     File "/runner/_work/beam/beam/sdks/python/apache_beam/pipeline.py", line 
612, in __exit__
       self.result = self.run()
     File "/runner/_work/beam/beam/sdks/python/apache_beam/pipeline.py", line 
586, in run
       return self.runner.run_pipeline(self, self._options)
     File "/runner/_work/beam/beam/sdks/python/apache_beam/runners/runner.py", 
line 192, in run_pipeline
       return self.run_portable_pipeline(
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/runners/portability/portable_runner.py",
 line 381, in run_portable_pipeline
       job_service_handle = self.create_job_service(options)
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/runners/portability/portable_runner.py",
 line 296, in create_job_service
       return self.create_job_service_handle(server.start(), options)
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/runners/portability/job_server.py",
 line 81, in start
       self._endpoint = self._job_server.start()
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/runners/portability/job_server.py",
 line 110, in start
       return self._server.start()
     File 
"/runner/_work/beam/beam/sdks/python/apache_beam/utils/subprocess_server.py", 
line 175, in start
       raise RuntimeError(
   RuntimeError: Service failed to start up with error 1
   > Task 
:sdks:python:test-suites:portable:py38:portableWordCountSparkRunnerBatch FAILED
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to