[jira] [Commented] (FALCON-2337) FalconPostProcessingTest hangs intermittently
[ https://issues.apache.org/jira/browse/FALCON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16487122#comment-16487122 ] Sonia Garudi commented on FALCON-2337: -- Any update on this? > FalconPostProcessingTest hangs intermittently > - > > Key: FALCON-2337 > URL: https://issues.apache.org/jira/browse/FALCON-2337 > Project: Falcon > Issue Type: Bug > Components: oozie > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > > The FalconPostProcessingTest#testProcessMessageCreator test hangs > intermittently. The test hangs at > {code:java} > t.join();{code} > The thread is blocked at > {code:java} > consumer.receive();{code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (FALCON-2338) EntityGraphTest.initConfigStore fails intermittently
[ https://issues.apache.org/jira/browse/FALCON-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16478973#comment-16478973 ] Sonia Garudi commented on FALCON-2338: -- Any update here? [~pallavi.rao] > EntityGraphTest.initConfigStore fails intermittently > > > Key: FALCON-2338 > URL: https://issues.apache.org/jira/browse/FALCON-2338 > Project: Falcon > Issue Type: Bug > Components: common > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > Attachments: FALCON-2338.patch > > > Error message : > {code:java} > org.apache.falcon.FalconException: Unable to restore configurations for > entity type PROCESS at > org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) > at > org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] falcon pull request #411: FALCON-2338 EntityGraphTest.initConfigStore fails ...
GitHub user sonia-garudi opened a pull request: https://github.com/apache/falcon/pull/411 FALCON-2338 EntityGraphTest.initConfigStore fails intermittently The error occurs only when the MetadataMappingServiceTest testsuite runs before the testcase mentioned above. This test suite creates a file in target folder 'target/store/PROCESS/sample-process.xml' which isn't deleted post the test. The change proposed in this pull request deletes the files and the tests in EntityGraphTest suite passed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sonia-garudi/falcon FALCON-2338 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/411.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #411 commit b35b00dcc49d7d74c1dce3d0f5dbec039bb8110c Author: sonia-garudi <sgarudi@...> Date: 2018-05-11T12:13:45Z Edit EntityGraphTest.java to delete the config store before and after suite ---
[jira] [Resolved] (FALCON-2332) Tests failing with java.lang.ClassCastException for unmarshal
[ https://issues.apache.org/jira/browse/FALCON-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonia Garudi resolved FALCON-2332. -- Resolution: Duplicate The errors are resolved by applying changes in pull request corresponding to FALCON-2322 > Tests failing with java.lang.ClassCastException for unmarshal > - > > Key: FALCON-2332 > URL: https://issues.apache.org/jira/browse/FALCON-2332 > Project: Falcon > Issue Type: Bug > Components: oozie >Affects Versions: trunk > Environment: $ cat /etc/redhat-release > CentOS Linux release 7.2.1511 (AltArch) > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) >Reporter: Sonia Garudi >Priority: Major > Labels: ppc64le, x86 > > Error message : > {code:java} > java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl > at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138) > {code} > The following is the list of tests failing with the above error: > > {code:java} > Failed tests: > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast > com.sun.org.a... > OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast > com.sun.or... > > {code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (FALCON-2332) Tests failing with java.lang.ClassCastException for unmarshal
[ https://issues.apache.org/jira/browse/FALCON-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonia Garudi reopened FALCON-2332: -- > Tests failing with java.lang.ClassCastException for unmarshal > - > > Key: FALCON-2332 > URL: https://issues.apache.org/jira/browse/FALCON-2332 > Project: Falcon > Issue Type: Bug > Components: oozie >Affects Versions: trunk > Environment: $ cat /etc/redhat-release > CentOS Linux release 7.2.1511 (AltArch) > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) >Reporter: Sonia Garudi >Priority: Major > Labels: ppc64le, x86 > > Error message : > {code:java} > java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl > at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138) > {code} > The following is the list of tests failing with the above error: > > {code:java} > Failed tests: > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast > com.sun.org.a... > OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast > com.sun.or... > > {code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (FALCON-2338) EntityGraphTest.initConfigStore fails intermittently
[ https://issues.apache.org/jira/browse/FALCON-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16465784#comment-16465784 ] Sonia Garudi commented on FALCON-2338: -- The error occurs only when the MetadataMappingServiceTest testsuite runs before the testcase mentioned above. MetadataMappingServiceTest creates a configuration store object. The EntityGraphTest suite as well creates configuration store object but is not able to restore configurations for entity type PROCESS. > EntityGraphTest.initConfigStore fails intermittently > > > Key: FALCON-2338 > URL: https://issues.apache.org/jira/browse/FALCON-2338 > Project: Falcon > Issue Type: Bug > Components: common > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > > Error message : > {code:java} > org.apache.falcon.FalconException: Unable to restore configurations for > entity type PROCESS at > org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) > at > org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (FALCON-2338) EntityGraphTest.initConfigStore fails intermittently
[ https://issues.apache.org/jira/browse/FALCON-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonia Garudi updated FALCON-2338: - Description: Error message : {code:java} org.apache.falcon.FalconException: Unable to restore configurations for entity type PROCESS at org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) at org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} was: Error message : {code:java} org.apache.falcon.FalconException: Unable to restore configurations for entity type PROCESS at org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) at org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} The errors occurs only when the MetadataMappingServiceTest testsuite runs before the testcase mentioned above . > EntityGraphTest.initConfigStore fails intermittently > > > Key: FALCON-2338 > URL: https://issues.apache.org/jira/browse/FALCON-2338 > Project: Falcon > Issue Type: Bug > Components: common > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > > Error message : > {code:java} > org.apache.falcon.FalconException: Unable to restore configurations for > entity type PROCESS at > org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) > at > org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (FALCON-2338) EntityGraphTest.initConfigStore fails intermittently
Sonia Garudi created FALCON-2338: Summary: EntityGraphTest.initConfigStore fails intermittently Key: FALCON-2338 URL: https://issues.apache.org/jira/browse/FALCON-2338 Project: Falcon Issue Type: Bug Components: common Environment: {code:java} $ java -version openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} Reporter: Sonia Garudi Error message : {code:java} org.apache.falcon.FalconException: Unable to restore configurations for entity type PROCESS at org.apache.falcon.entity.store.ConfigurationStore.loadEntity(ConfigurationStore.java:228) at org.apache.falcon.entity.store.ConfigurationStore.init(ConfigurationStore.java:189){code} The errors occurs only when the MetadataMappingServiceTest testsuite runs before the testcase mentioned above . -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (FALCON-2337) FalconPostProcessingTest hangs intermittently
[ https://issues.apache.org/jira/browse/FALCON-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16448037#comment-16448037 ] Sonia Garudi commented on FALCON-2337: -- The thread hangs at {code:java} consumer.receive();{code} The consumer is not able to receive any more messages. This is an intermittent issue. [~pallavi.rao], can you please suggest any possible solution for this? Thanks. > FalconPostProcessingTest hangs intermittently > - > > Key: FALCON-2337 > URL: https://issues.apache.org/jira/browse/FALCON-2337 > Project: Falcon > Issue Type: Bug > Components: oozie > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > > The FalconPostProcessingTest#testProcessMessageCreator test hangs > intermittently. The test hangs at > {code:java} > t.join();{code} > The thread is blocked at > {code:java} > consumer.receive();{code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (FALCON-2337) FalconPostProcessingTest hangs intermittently
Sonia Garudi created FALCON-2337: Summary: FalconPostProcessingTest hangs intermittently Key: FALCON-2337 URL: https://issues.apache.org/jira/browse/FALCON-2337 Project: Falcon Issue Type: Bug Components: oozie Environment: {code:java} $ java -version openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} Reporter: Sonia Garudi The FalconPostProcessingTest#testProcessMessageCreator test hangs intermittently. The test hangs at {code:java} t.join();{code} The thread is blocked at {code:java} consumer.receive();{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (FALCON-2334) Tests in UpdateHelperTest suite fails with ParentNotDirectoryException
[ https://issues.apache.org/jira/browse/FALCON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonia Garudi updated FALCON-2334: - Attachment: FALCON-2334-1.patch > Tests in UpdateHelperTest suite fails with ParentNotDirectoryException > -- > > Key: FALCON-2334 > URL: https://issues.apache.org/jira/browse/FALCON-2334 > Project: Falcon > Issue Type: Bug > Components: common > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > Attachments: FALCON-2334-1.patch > > > The tests fails with the following error : > {code:java} > Parent path is not a directory: > /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample{code} > The list of tests failing with above error : > {code:java} > Failed tests: > UpdateHelperTest.testIsEntityACLUpdated:273->prepare:101 ? > ParentNotDirectory ... > UpdateHelperTest.testIsEntityLateProcessUpdated:291->prepare:101 ? > ParentNotDirectory > UpdateHelperTest.testIsEntityUpdated:128->prepare:101 ? ParentNotDirectory > Par... > UpdateHelperTest.testShouldUpdateAffectedEntities:168->prepare:101 ? > ParentNotDirectory{code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] falcon pull request #408: FALCON-2334 Tests in UpdateHelperTest suite fails ...
GitHub user sonia-garudi opened a pull request: https://github.com/apache/falcon/pull/408 FALCON-2334 Tests in UpdateHelperTest suite fails with ParentNotDirectoryException The UpdateHelperTest tests fails with the following error : `Parent path is not a directory: /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample` The errors occurs only when the EntityUtilTest#testIsStagingPath test runs before the tests mentioned above. The following code in EntityUtilTest#testIsStagingPath creates a file at path - target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample which causes the error : ``` if (createPath && !fs.exists(path)) { fs.create(path); } ``` The change proposed in this pull request deletes the files created in EntityUtilTest#testIsStagingPath after the test checks are done. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sonia-garudi/falcon FALCON-2334 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/408.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #408 commit 782712b30ce55d94b143ee6e484f070d1b92994e Author: sonia-garudi <sgarudi@...> Date: 2018-04-12T06:53:14Z Update EntityUtilTest#testIsStagingPath to delete created files ---
[jira] [Commented] (FALCON-2334) Tests in UpdateHelperTest suite fails with ParentNotDirectoryException
[ https://issues.apache.org/jira/browse/FALCON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16433815#comment-16433815 ] Sonia Garudi commented on FALCON-2334: -- The errors occurs only when the EntityUtilTest#testIsStagingPath test runs before the tests mentioned above . The following code in EntityUtilTest#testIsStagingPath creates the a file at path - target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample which causes the error : {code:java} if (createPath && !fs.exists(path)) { fs.create(path); }{code} With the following change the UpdateHelperTest suite passes : {code:java} if (createPath && !fs.exists(path)) { - fs.create(path); + fs.mkdirs(path); }{code} > Tests in UpdateHelperTest suite fails with ParentNotDirectoryException > -- > > Key: FALCON-2334 > URL: https://issues.apache.org/jira/browse/FALCON-2334 > Project: Falcon > Issue Type: Bug > Components: common > Environment: {code:java} > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} >Reporter: Sonia Garudi >Priority: Major > > The tests fails with the following error : > {code:java} > Parent path is not a directory: > /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample{code} > The list of tests failing with above error : > {code:java} > Failed tests: > UpdateHelperTest.testIsEntityACLUpdated:273->prepare:101 ? > ParentNotDirectory ... > UpdateHelperTest.testIsEntityLateProcessUpdated:291->prepare:101 ? > ParentNotDirectory > UpdateHelperTest.testIsEntityUpdated:128->prepare:101 ? ParentNotDirectory > Par... > UpdateHelperTest.testShouldUpdateAffectedEntities:168->prepare:101 ? > ParentNotDirectory{code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (FALCON-2334) Tests in UpdateHelperTest suite fails with ParentNotDirectoryException
Sonia Garudi created FALCON-2334: Summary: Tests in UpdateHelperTest suite fails with ParentNotDirectoryException Key: FALCON-2334 URL: https://issues.apache.org/jira/browse/FALCON-2334 Project: Falcon Issue Type: Bug Components: common Environment: {code:java} $ java -version openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code} Reporter: Sonia Garudi The tests fails with the following error : {code:java} Parent path is not a directory: /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample{code} The list of tests failing with above error : {code:java} Failed tests: UpdateHelperTest.testIsEntityACLUpdated:273->prepare:101 ? ParentNotDirectory ... UpdateHelperTest.testIsEntityLateProcessUpdated:291->prepare:101 ? ParentNotDirectory UpdateHelperTest.testIsEntityUpdated:128->prepare:101 ? ParentNotDirectory Par... UpdateHelperTest.testShouldUpdateAffectedEntities:168->prepare:101 ? ParentNotDirectory{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (FALCON-2332) Tests failing with java.lang.ClassCastException for unmarshal
[ https://issues.apache.org/jira/browse/FALCON-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonia Garudi resolved FALCON-2332. -- Resolution: Resolved > Tests failing with java.lang.ClassCastException for unmarshal > - > > Key: FALCON-2332 > URL: https://issues.apache.org/jira/browse/FALCON-2332 > Project: Falcon > Issue Type: Bug > Components: oozie >Affects Versions: trunk > Environment: $ cat /etc/redhat-release > CentOS Linux release 7.2.1511 (AltArch) > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) >Reporter: Sonia Garudi >Priority: Major > Labels: ppc64le, x86 > > Error message : > {code:java} > java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl > at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138) > {code} > The following is the list of tests failing with the above error: > > {code:java} > Failed tests: > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast > com.sun.org.a... > OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast > com.sun.or... > > {code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (FALCON-2322) ClassCastException while submitAndSchedule feed
[ https://issues.apache.org/jira/browse/FALCON-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16409431#comment-16409431 ] Sonia Garudi commented on FALCON-2322: -- Hi [~bpgergo] , I am getting the same error while running tests in Falcon Oozie (created a Jira for the same FALCON-2332). I tried the changes as suggested by you in the pull request and it resolved the failures. > ClassCastException while submitAndSchedule feed > --- > > Key: FALCON-2322 > URL: https://issues.apache.org/jira/browse/FALCON-2322 > Project: Falcon > Issue Type: Bug >Affects Versions: 0.9 >Reporter: Péter Gergő Barna >Assignee: Péter Gergő Barna >Priority: Major > Fix For: trunk > > > ClassCastException occurs while submitAndSchedule feed > uri: [http://[hostname]:15000/api/entities/submit/cluster?user.name=hrt_qa] > payload: > {noformat} > name="A323e3eea-71bf9cf8" description="clicks log"> > hours(1) UTC cut-off="hours(6)"/> type="source"> >name="A323e3eea-0729973a" type="target"> end="2099-01-01T00:00Z"/> > > uri="catalog:default:hcatFeedOperationsTest#year=${YEAR}"/> owner="hrt_qa" group="users" permission="0x755"/> provider="hcat"/> > > > {noformat} > Exception: > Entity schedule failed for feed: Acdd50630-24adeaaf > (AbstractSchedulableEntityManager:104) > java.lang.ClassCastException: > *com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl* > at org.apache.falcon.util.OozieUtils.unMarshalHiveAction(OozieUtils.java:89) > Stack trace: > {noformat} > 07.hwx.site:9083 (OozieEntityBuilder:71) 2018-02-15 00:09:53,273 ERROR - > [290968357@qtp-57241990-276 - > 64cb2640-bfde-48b7-a97a-70d016d74b98:hrt_qa:POST//entities/submitAndSchedule/feed] > ~ Entity schedule failed for feed: A323e3eea-71bf9cf8 > (AbstractSchedulableEntityManager:104) java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl at > org.apache.falcon.util.OozieUtils.unMarshalHiveAction(OozieUtils.java:89) at > org.apache.falcon.oozie.feed.HCatReplicationWorkflowBuilder.getWorkflow(HCatReplicationWorkflowBuilder.java:84) > at > org.apache.falcon.oozie.feed.FeedReplicationWorkflowBuilder.build(FeedReplicationWorkflowBuilder.java:74) > at > org.apache.falcon.oozie.feed.FeedReplicationCoordinatorBuilder.doBuild(FeedReplicationCoordinatorBuilder.java:121) > at > org.apache.falcon.oozie.feed.FeedReplicationCoordinatorBuilder.buildCoords(FeedReplicationCoordinatorBuilder.java:93) > at > org.apache.falcon.oozie.feed.FeedBundleBuilder.buildCoords(FeedBundleBuilder.java:69) > at > org.apache.falcon.oozie.OozieBundleBuilder.build(OozieBundleBuilder.java:71) > at > org.apache.falcon.oozie.OozieEntityBuilder.build(OozieEntityBuilder.java:120) > at > org.apache.falcon.oozie.OozieEntityBuilder.build(OozieEntityBuilder.java:116) > at > org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:174) > at > org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:102) > at > org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:80) > at > org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:283) > at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49) at > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$11.doExecute(SchedulableEntityManagerProxy.java:552) > at > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:841) > at > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody16(SchedulableEntityManagerProxy.java:555) > at > org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure17.run(SchedulableEntityManagerProxy.java:1) > at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) > at > org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:
[jira] [Commented] (FALCON-2332) Tests failing with java.lang.ClassCastException for unmarshal
[ https://issues.apache.org/jira/browse/FALCON-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16404705#comment-16404705 ] Sonia Garudi commented on FALCON-2332: -- I modified the OozieUtils.java to import com.sun.org.apache.xerces.internal.dom.ElementNSImpl instead of org.apache.xerces.dom.ElementNSImpl and the test case passed. However with this change the same tests fail on Ubuntu container with following error : {code:java} java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl cannot be cast to com.sun.org.apache.xerces.internal.dom.ElementNSImpl{code} > Tests failing with java.lang.ClassCastException for unmarshal > - > > Key: FALCON-2332 > URL: https://issues.apache.org/jira/browse/FALCON-2332 > Project: Falcon > Issue Type: Bug > Components: oozie >Affects Versions: trunk > Environment: $ cat /etc/redhat-release > CentOS Linux release 7.2.1511 (AltArch) > $ java -version > openjdk version "1.8.0_161" > OpenJDK Runtime Environment (build 1.8.0_161-b14) > OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) >Reporter: Sonia Garudi >Priority: Major > Labels: ppc64le, x86 > > Error message : > {code:java} > java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to > org.apache.xerces.dom.ElementNSImpl > at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138) > {code} > The following is the list of tests failing with the above error: > > {code:java} > Failed tests: > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast > com.sun > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > > OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 > ? ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? > ClassCast > OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast > com.sun.org.a... > OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast > com.sun.or... > > {code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (FALCON-2332) Tests failing with java.lang.ClassCastException for unmarshal
Sonia Garudi created FALCON-2332: Summary: Tests failing with java.lang.ClassCastException for unmarshal Key: FALCON-2332 URL: https://issues.apache.org/jira/browse/FALCON-2332 Project: Falcon Issue Type: Bug Components: oozie Affects Versions: trunk Environment: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (AltArch) $ java -version openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) Reporter: Sonia Garudi Error message : {code:java} java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.apache.xerces.dom.ElementNSImpl at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138) {code} The following is the list of tests failing with the above error: {code:java} Failed tests: OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast com.sun OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast com.sun OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 ? ClassCast OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 ? ClassCast OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 ? ClassCast OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 ? ClassCast OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? ClassCast OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? ClassCast OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast com.sun.org.a... OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast com.sun.or... {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)