IBMStreams / streamsx.topology

Develop streaming applications for IBM Streams in Python, Java & Scala.
http://ibmstreams.github.io/streamsx.topology
Apache License 2.0
29 stars 43 forks source link

streamsx 1.17 hits exception when submitting job while no project or space id is set inside CP4D cluster #2605

Closed markheger closed 3 years ago

markheger commented 3 years ago
Exception in thread "main" java.lang.IllegalStateException: CDIST0329E: 'PROJECT_ID' environment variable is not set.
at com.ibm.streamsx.topology.internal.streams.Util.getenv(Util.java:86)
at com.ibm.streamsx.topology.internal.context.streamsrest.DistributedCp4dRestContext.preSubmit(DistributedCp4dRestContext.java:132)
at com.ibm.streamsx.topology.internal.context.remote.RemoteContextImpl.submit(RemoteContextImpl.java:29)
at com.ibm.streamsx.topology.context.remote.RemoteContextSubmit.main(RemoteContextSubmit.java:39)

Note: Problem does not occur when submitting external to CP4D cluster.