Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
When a process is submitted and scheduled, the user workflow is failing with:
OozieClientException: org.apache.oozie.DagEngineException: E0710: Could not read the workflow definition, Path is not a file: /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/workflow.xml at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:42) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsUpdateTimes(FSNamesystem.java:1439) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1391) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1367) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1340) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:413) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:172) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:44938) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:453) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1002) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1752) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1748) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1746)
It is creating a workflow.xml directory and placing the workflow.xml inside it.
suhas@R9FC7XY:~/Downloads/examples/entity$ hdfs dfs -ls /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/
Found 2 items
drwxr-xr-x - suhas supergroup 0 2014-01-13 14:23 /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/lib
drwxr-xr-x - suhas supergroup 0 2014-01-13 14:23 /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/workflow.xml
suhas@R9FC7XY:~/Downloads/examples/entity$ hdfs dfs -ls /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/workflow.xml
Found 1 item
-rw-r-xr-x - suhas supergroup 0 2014-01-13 14:23 /projects/falcon/staging/falcon/workflows/process/WordCount3/1389606059312/user/workflow.xml/workflow.xml