Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5447

HttpFS support in Ozone

    XMLWordPrintableJSON

Details

    Description

      There are several tools out there mainly written in Python, that uses the webhdfs interface to connect to HDFS. Even there are quite a few other filesystem implementations that provide access via the same rest interface that HDFS provides.
      HUE also implements the HDFS file browser by accessing HDFS via the REST API either on the NameNodes or on HTTPFS Server instances added to the HDFS service.

      This gave the inspiration to check and experiment what is required to support a similar REST endpoint over Ozone.

      The advantage is that we can ease the migration of tools developed in-house that are using this interface of HDFS, while we can add the possibility to browse Ozone from HUE.
      There is literally no disadvantage of having such an interface, as we can implement it as a separate module which does not have any interference with the rest of the code, as the REST endpoint as with HTTPFS will use a regular Java based Ozone client to serve any requests.

      Attachments

        1. HTTPFS interface for Ozone.pdf
          43 kB
          István Fajth
        1.
        Copy over HttpFS module from Hadoop 3.3.1 to Ozone Sub-task Resolved Zita Dombi  
        2.
        Remove unnecessary hadoop dependencies from httpfs module Sub-task Resolved Zita Dombi  
        3.
        Add lifecycle management to HttpFS server Sub-task Resolved Zita Dombi  
        4.
        Add a simple test suite for HTTPFS GW Sub-task Resolved Zita Dombi  
        5.
        [HTTPFSGW] Remove or replace Hadoop shaded guava dependencies. Sub-task Resolved Zita Dombi  
        6.
        [HTTPFSGGW] junit.jar and json-simple in jar report Sub-task Resolved Zita Dombi  
        7.
        [HTTPFSGW] Move to org.apache.ozone package from org.apache.hadoop Sub-task Resolved Zita Dombi  
        8.
        [HTTPFSGW] Remove non-server side related code from Ozone Sub-task Resolved Zita Dombi  
        9.
        [HTTPFSGW] Fix dependency issues after master merge Sub-task Resolved István Fajth  
        10.
        [HTTPFSGW] Add proper handling for unsupported operations Sub-task Resolved Zita Dombi  
        11.
        [HTTPFSGW] Port HTTPFS node and robot tests to ozone-ha, and ozonesecure(-ha) Sub-task Resolved Zita Dombi  
        12.
        [HTTPFSGW] Merge master into HDDS-5447-httpfs branch Sub-task Resolved Zita Dombi  
        13.
        Ozone Runner Image: Create httpfs user and group Sub-task Resolved Zita Dombi

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 20m
        14.
        [HTTPFSGW] Fix secure integration tests for the HttpFS module Sub-task Resolved Zita Dombi  
        15.
        [HTTPFSGW] Clean up dependencies Sub-task Resolved Zita Dombi  
        16.
        Replace Hadoop annotations with Ozone-specific ones Sub-task Resolved Attila Doroszlai  
        17.
        [HTTPFSGW] Review ZK and Curator dependencies, and get rid of them. Sub-task Resolved István Fajth  
        18.
        Replace import from shaded Guava Sub-task Resolved Zita Dombi  
        19.
        [HTTPFSGW] Change ozone-filesystem to a runtime dependency for HttpFS Sub-task Resolved Zita Dombi  
        20.
        Add okio as dependency to the root pom Sub-task Resolved Zita Dombi  
        21.
        [HTTPFSGW] Remove support for satisfyStoragePolicy operation Sub-task Resolved Zita Dombi  
        22.
        [HTTPFSGW] Update module doc, and place it in Ozone project docs Sub-task Resolved Zita Dombi  
        23.
        Dependency convergence error for zookeeper Sub-task Resolved Attila Doroszlai  
        24.
        [HTTPFSGW] Conform with new checkstyle rule in master Sub-task Resolved Zita Dombi  
        25.
        [HTTPFSGW] Add JvmPauseMonitor for HttpFSServerWebServer Sub-task Resolved GuoHao  

        Activity

          People

            pifta István Fajth
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m