Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      HADOOP-6671 changed the source directory layout. It would be useful to have a script to fix patches that were written with the old layout.

      1. mavenize-hdfs.sed
        0.8 kB
        Tom White
      2. mavenize-common.sed
        1 kB
        Tom White

        Activity

        Hide
        Tom White added a comment -

        Here's a simple sed script to fix patches. Usage:

        sed -E -f mavenize-common.sed < old.patch > new.patch
        

        Note that there may be some paths that are not converted by this script: these will need to be manually changed.

        Show
        Tom White added a comment - Here's a simple sed script to fix patches. Usage: sed -E -f mavenize-common.sed < old.patch > new.patch Note that there may be some paths that are not converted by this script: these will need to be manually changed.
        Hide
        Alejandro Abdelnur added a comment -

        Should we commit this in common/dev-support/?

        Show
        Alejandro Abdelnur added a comment - Should we commit this in common/dev-support/?
        Hide
        Tom White added a comment -

        I don't think this needs to be committed since it's only useful for a limited time, and folks can easily download it from this JIRA.

        Show
        Tom White added a comment - I don't think this needs to be committed since it's only useful for a limited time, and folks can easily download it from this JIRA.
        Hide
        Tom White added a comment -

        Equivalent script for HDFS.

        Show
        Tom White added a comment - Equivalent script for HDFS.

          People

          • Assignee:
            Tom White
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development