- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to Set JAVA System Properties in OOZIE JAVA ACtion
- Labels:
-
Apache Oozie
Created 07-05-2016 08:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A JVM runs with a number of system properties. You can configure system properties by using the -D option.In HDP 2.4.2 with oozie-4.2 in the workflow xml passing multiple java-opt as
<java-opts>
-Dp1=v1
-Dp2=v2
</java-opts>
but encountered with exit code 127 container getting killed because the properties were not set correctly during container execution.
But the same runs well using java program and also in previous oozie versions.
Is there any limitation in OOZIE JAVA action for system property usage?.
Created 07-06-2016 06:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem got fixed instead of passing
<java-opts>
-Dp1=v1
-Dp2=v2
</java-opts>
we did in one-liner <java-opts>-Dp1=v1 -Dp2=v2 </java-opts>
Created 07-05-2016 09:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 07-06-2016 01:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@avoma oozie-861 has been closed in 3.3.0.
Created 07-06-2016 06:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem got fixed instead of passing
<java-opts>
-Dp1=v1
-Dp2=v2
</java-opts>
we did in one-liner <java-opts>-Dp1=v1 -Dp2=v2 </java-opts>
