Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1711

Create method for users to identify HDFS compatible protocols in fetcher.cpp

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.19.1
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
    • Environment:

      All

      Description

      In fetcher.cpp, the code to get the Mesos packages uses a hard coded list of protocols to determine if the Hadoop copytoLocal method is used or if another method (such as standard filecopy). This limits the addition of new protocols that are HDFS compatible until the next release of Mesos. Tachyon Filesystem (tachyonfs://), MapR FS (maprfs://) and glusterfs:// are three examples that could make use of this.

      Instead of just adding those file systems in the hard coded list, I recommend following the lead of the Tachyon Project. In tachyon-0.6.0-SNAPSHOT, they have added an environment variable of allowed hdfs compatible protocols. This comma-separated list allows the user/admin to specify which protocols are HDFS compatible, without hard coding it in the fetcher.cpp.

      I don't have access to the Tachyon issues list for linking, but the code is on line 75 of

      https://github.com/amplab/tachyon/blob/master/core/src/main/java/tachyon/UnderFileSystem.java

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ankurcha Ankur Chauhan
                Reporter:
                mandoskippy John Omernik
                Shepherd:
                Adam B
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6h
                  6h
                  Remaining:
                  Remaining Estimate - 6h
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified