Support Questions
Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Oozie cannot access local filesystem

Expert Contributor

I was using Oozie 4.2.0 (hdp2.6) and am now trying Oozie 4.3.1 (hdp 3.0).

One major difference is that one java action could in the past read its jar from the local filesystem, but it looks like it is not possible anymore. The Java action is basic:

<java xmlns="uri:oozie:workflow:0.5">

The error I get is quite clear:

org.apache.oozie.action.ActionExecutorException: UnsupportedOperationException: Accessing local file system is not allowed

I know I could put the jar on hdfs put I am trying to avoid that for now (because it used to work and all our deployment are done via rpm). I am ready to take the responsibility of having all jars in sync over all datanodes.

I already set oozie.service.HadoopAccessorService.supported.filesystems to *, with no effect.

Is there a way to tell Oozie that yes, I am happy for it to read the local FS?


New Contributor

I am also facing the same issue is there any solution found.?


HDP 3.1.0

oozie 4.3.1


Caused by: java.lang.UnsupportedOperationException: Accessing local file system is not allowed
    at org.apache.hadoop.fs.RawLocalFileSystem.initialize(
    at org.apache.hadoop.fs.LocalFileSystem.initialize(
    at org.apache.hadoop.fs.FileSystem.createFileSystem(
    at org.apache.hadoop.fs.FileSystem.access$200(
    at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
    at org.apache.hadoop.fs.FileSystem$Cache.get(
    at org.apache.hadoop.fs.FileSystem.get(
    at org.apache.hadoop.fs.FileSystem.getLocal(
    at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.confChanged(
    at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(