Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1381

Need a way for Pig to take an alternative property file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • impl
    • None
    • Reviewed

    Description

      Currently, Pig read the first ever pig.properties in CLASSPATH. Pig has a default pig.properties and if user have a different pig.properties, there will be a conflict since we can only read one. There are couple of ways to solve it:

      1. Give a command line option for user to pass an additional property file
      2. Change the name for default pig.properties to pig-default.properties, and user can give a pig.properties to override
      3. Further, can we consider to use pig-default.xml/pig-site.xml, which seems to be more natural for hadoop community. If so, we shall provide backward compatibility to also read pig.properties, pig-cluster-hadoop-site.xml.

      Attachments

        1. PIG-1381_cli_2.patch
          10 kB
          V.V.Chaitanya Krishna
        2. PIG-1381_cli_1.patch
          10 kB
          V.V.Chaitanya Krishna
        3. PIG-1381-5.patch
          7 kB
          Daniel Dai
        4. PIG-1381-4.patch
          6 kB
          Daniel Dai
        5. PIG-1381-3.patch
          6 kB
          Daniel Dai
        6. PIG-1381-2.patch
          5 kB
          Daniel Dai
        7. PIG-1381-1.patch
          3 kB
          Daniel Dai

        Issue Links

          Activity

            People

              chaitk V.V.Chaitanya Krishna
              daijy Daniel Dai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: