Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7917

Documentation for secure bulk load

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

      One of our tests for bulk loading on a secure cluster failed, because of it was
      not configured properly. We should document the setup.

      From SecureBulkLoadEndpoint:

      1. Create an hbase owned staging directory which is
       * world traversable (711): /hbase/staging
       * 2. A user writes out data to his secure output directory: /user/foo/data
       * 3. A call is made to hbase to create a secret staging directory
       * which globally rwx (777): /user/staging/averylongandrandomdirectoryname
       * 4. The user makes the data world readable and writable, then moves it
       * into the random staging directory, then calls bulkLoadHFiles()
       *
       * Like delegation tokens the strength of the security lies in the length
       * and randomness of the secret directory.
      

      See HBASE-5498 for details on secure bulk load.

      Attachments

        1. hbase-7917_v1.patch
          2 kB
          Enis Soztutar
        2. hbase-7917_v2.patch
          2 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: