Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-3515

FIWARE.Request.Tech.Data.BigData-Analysis.HDFSPermissions

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hello,

      I have problems accessing my own content in cosmos.

      For example I can't change perms

      hadoop fs -chmod -R a+rwx /user/[myuser]/[myfolder]

      changing permissions of
      'hdfs://cosmosmaster-gi/[myuser]/[myfolder]/by_year=2015/by_week=27/000000_0':org.apache.hadoop.security.AccessControlException:
      Permission denied

      Or if I try to delete a folder

      hadoop fs -rmr /user/[myuser]/[myfolder]
      rmr: org.apache.hadoop.security.AccessControlException: Permission
      denied: user=myuser, access=ALL, inode="/user/[myuser]/[myfolder]
      /by_year=2015":root:myuser:drwxr-xr-x

      Thanks,

      Victor.


      Victor Esteban
      *Mail: * victor@limogin.com <victor@limogin.com>
      *Telf. * +34 615 800 104
      *Web: * http://www.limogin.com
      LinkedIn: http://www.linkedin.com/in/limogin

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Victor Esteban <victor@limogin.com>]

      1. signature.asc
        0.2 kB
        Daniele Santoro

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Hello,

        I can not connect with the servive hive remotely.

        I'm use this library

        https://github.com/Automattic/php-thrift-sql

        And my connection declaration is the following:

        // Load this lib
        require_once _DIR_ . '/ThriftSQL.phar';

        // Try out a Hive query
        $hive = new \ThriftSQL\Hive('|cosmos.lab.fi-ware.org|',10000,'myuser','myaccountpass');
        $hiveTables = $hive
        ->connect()
        ->queryAndFetchAll('SHOW TABLES' );
        print_r($hiveTables );

        But the call waits indefinitely until it reaches a timeout.

        Thanks,

        Victor.


        Victor Esteban
        *Mail: * victor@limogin.com <victor@limogin.com>
        *Telf. * +34 615 800 104
        *Web: * http://www.limogin.com
        LinkedIn: http://www.linkedin.com/in/limogin

        Show
        fw.ext.user FW External User added a comment - Hello, I can not connect with the servive hive remotely. I'm use this library https://github.com/Automattic/php-thrift-sql And my connection declaration is the following: // Load this lib require_once _ DIR _ . '/ThriftSQL.phar'; // Try out a Hive query $hive = new \ThriftSQL\Hive('|cosmos.lab.fi-ware.org|',10000,'myuser','myaccountpass'); $hiveTables = $hive ->connect() ->queryAndFetchAll('SHOW TABLES' ); print_r($hiveTables ); But the call waits indefinitely until it reaches a timeout. Thanks, Victor. – Victor Esteban *Mail: * victor@limogin.com < victor@limogin.com > *Telf. * +34 615 800 104 *Web: * http://www.limogin.com LinkedIn: http://www.linkedin.com/in/limogin
        Hide
        danieles Daniele Santoro added a comment -

        Dear Victor,

        I’ve already forwarded your request to the second level support. They will give you help on your technical issues.

        Best,
        Daniele

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        danieles Daniele Santoro added a comment - Dear Victor, I’ve already forwarded your request to the second level support. They will give you help on your technical issues. Best, Daniele _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        frb Francisco Romero added a comment -

        Adding what has already been discussed by email:

        On 07/07/2015 11:12, FRANCISCO ROMERO BUENO wrote:
        Hola Victor,

        Efectivamente, algunos datos a partir de /user/xxxx/report/student están subidos con propietario root:

        hadoop fs -ls /user/xxxx/report/student
        Found 3 items
        drwxr-xr-x - root xxxx 0 2015-07-06 13:53 /user/xxxx/report/student/by_year=2013
        drwxrwxrwx - xxxx xxxx 0 2015-07-07 10:30 /user/xxxx/report/student/by_year=2014
        drwxr-xr-x - root xxxx 0 2015-07-07 10:29 /user/xxxx/report/student/by_year=2015

        ¿Cómo cargasteis estos datos?

        Saludos,
        Paco

        Show
        frb Francisco Romero added a comment - Adding what has already been discussed by email: On 07/07/2015 11:12, FRANCISCO ROMERO BUENO wrote: Hola Victor, Efectivamente, algunos datos a partir de /user/xxxx/report/student están subidos con propietario root: hadoop fs -ls /user/xxxx/report/student Found 3 items drwxr-xr-x - root xxxx 0 2015-07-06 13:53 /user/xxxx/report/student/by_year=2013 drwxrwxrwx - xxxx xxxx 0 2015-07-07 10:30 /user/xxxx/report/student/by_year=2014 drwxr-xr-x - root xxxx 0 2015-07-07 10:29 /user/xxxx/report/student/by_year=2015 ¿Cómo cargasteis estos datos? Saludos, Paco
        Hide
        mev Manuel Escriche added a comment -

        NO activity since July. What are we waiting for? Thanks

        Show
        mev Manuel Escriche added a comment - NO activity since July. What are we waiting for? Thanks
        Hide
        frb Francisco Romero added a comment -

        As you can see, I made a question that was not answered by the user.

        Anyway, doing a search on my personal email, this was finally fixed after moving to HiveServer2.

        So closing.

        Show
        frb Francisco Romero added a comment - As you can see, I made a question that was not answered by the user. Anyway, doing a search on my personal email, this was finally fixed after moving to HiveServer2. So closing.
        Hide
        mev Manuel Escriche added a comment -

        In this cases we can wait from a couple of days to a week, no more time.
        Thanks!

        Show
        mev Manuel Escriche added a comment - In this cases we can wait from a couple of days to a week, no more time. Thanks!

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: