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

HiveDR tests are failed due to data-mirroring does not have correct ownership/permissions

    XMLWordPrintableJSON

Details

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

    Description

      When I executed the hiveDR cases in unsecure cluster it is failed because of /apps/data-mirroring does not have correct ownership/permissions. Please see the error message below:

      LogType:stderr
      Log Upload Time:Tue Jun 21 21:02:06 +0000 2016
      LogLength:860
      Log Contents:
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/grid/0/hadoop/yarn/local/filecache/317/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/grid/0/hadoop/yarn/local/filecache/39/mapreduce.tar.gz/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      Invalid arguments: Base dir hdfs://mramasami-falcon-multicluster-10.openstacklocal:8020/apps/data-mirroring does not have correct ownership/permissions. Please set group to users and permissions to rwxrwx---
      Intercepting System.exit(-1)
      Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], exit code [-1]
      
      End of LogType:stderr
      
      LogType:stdout
      Log Upload Time:Tue Jun 21 21:02:06 +0000 2016
      LogLength:192002
      Log Contents:
      
      Oozie Launcher starts
      

      Permission :

      hrt_qa@mramasami-falcon-multicluster-13:/grid/0/hadoopqe/tests/falcon/falcon-regression/falcon-regression/merlin/target/surefire-reports$ hdfs dfs -ls /apps/
      Found 3 items
      drwxrwxrwx   - falcon hdfs          0 2016-06-21 19:04 /apps/data-mirroring
      drwxrwxrwx   - falcon hdfs          0 2016-06-21 19:04 /apps/falcon
      drwxr-xr-x   - hdfs   hdfs          0 2016-06-21 19:07 /apps/hive
      
      

      So /apps/data-mirroring contains full permission but it expects 770.

      Attachments

        Issue Links

          Activity

            People

              sowmyaramesh Sowmya Ramesh
              murali.msse Murali Ramasami
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: