Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2057

HiveDR not working with multiple users and same DB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk, 0.10
    • replication
    • None

    Description

      When falcon hivedr jobs are executed with multiple users and with the same hive database. Jobs are failing with the following error:

      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      Exception encountered Failed to get ReplicationStatus for job HIVEReplicationTest
      org.apache.falcon.hive.exception.HiveReplicationException: Failed to get ReplicationStatus for job HIVEReplicationTest
        at org.apache.falcon.hive.util.HiveDRStatusStore.getDbReplicationStatus(HiveDRStatusStore.java:190)
        at org.apache.falcon.hive.util.HiveDRStatusStore.getReplicationStatus(HiveDRStatusStore.java:137)
        at org.apache.falcon.hive.LastReplicatedEvents.getLastSavedEventId(LastReplicatedEvents.java:120)
        at org.apache.falcon.hive.LastReplicatedEvents.getLastEvents(LastReplicatedEvents.java:101)
        at org.apache.falcon.hive.HiveDRTool.getLastEvents(HiveDRTool.java:307)
        at org.apache.falcon.hive.HiveDRTool.execute(HiveDRTool.java:171)
        at org.apache.falcon.hive.HiveDRTool.run(HiveDRTool.java:106)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at org.apache.falcon.hive.HiveDRTool.main(HiveDRTool.java:334)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)
        at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:51)
        at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:242)
        at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
        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:1724)
        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
      Intercepting System.exit(-1)
      
      

      Attachments

        Issue Links

          Activity

            People

              bvellanki Balu Vellanki
              murali.msse Murali Ramasami
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: