Review Board 1.7.22


Changes to add support for streaming_python udfs.

Review Request #13781 - Created Aug. 23, 2013 and updated

Jeremy Karn
Reviewers
pig
pig-git
Changes for PIG-2417 (https://issues.apache.org/jira/browse/PIG-2417)

 
build.xml
Revision 7e22192 New Change
[20] 37 lines
[+20]
38
    <property name="year" value="2007-2012" />
38
    <property name="year" value="2007-2012" />
39

    
   
39

   
40
    <!-- source properties -->
40
    <!-- source properties -->
41
    <property name="lib.dir" value="${basedir}/lib" />
41
    <property name="lib.dir" value="${basedir}/lib" />
42
    <property name="src.dir" value="${basedir}/src" />
42
    <property name="src.dir" value="${basedir}/src" />

    
   
43
    <property name="python.src.dir" value="${src.dir}/python" />
43
    <property name="src.lib.dir" value="${basedir}/lib-src" />
44
    <property name="src.lib.dir" value="${basedir}/lib-src" />
44
    <property name="src.gen.dir" value="${basedir}/src-gen" />
45
    <property name="src.gen.dir" value="${basedir}/src-gen" />
45
    <property name="docs.dir" value="${basedir}/src/docs" />
46
    <property name="docs.dir" value="${basedir}/src/docs" />
46

    
   
47

   
47

    
   
48

   
[+20] [20] 522 lines
[+20]
570
                <compilerarg line="${javac.args} @{warnings}"/>
571
                <compilerarg line="${javac.args} @{warnings}"/>
571
                <classpath refid="@{cp}" />
572
                <classpath refid="@{cp}" />
572
            </javac>
573
            </javac>
573
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete" todir="${build.classes}/org/apache/pig/tools/grunt"/>
574
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete" todir="${build.classes}/org/apache/pig/tools/grunt"/>
574
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete_aliases" todir="${build.classes}/org/apache/pig/tools/grunt"/>
575
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete_aliases" todir="${build.classes}/org/apache/pig/tools/grunt"/>

    
   
576
            <copy todir="${build.classes}/python">

    
   
577
                <fileset dir="${python.src.dir}"/>

    
   
578
            </copy>
575
        </sequential>
579
        </sequential>
576
    </macrodef>
580
    </macrodef>
577

    
   
581

   
578
    <!-- ================================================================== -->
582
    <!-- ================================================================== -->
579
    <!-- Documentation                                                      -->
583
    <!-- Documentation                                                      -->
[+20] [20] 58 lines
[+20]
638
                    <attribute name="Implementation-Version" value="${version}" />
642
                    <attribute name="Implementation-Version" value="${version}" />
639
                </section>
643
                </section>
640
            </manifest>
644
            </manifest>
641
            <fileset dir="${src.lib.dir}/shock"/>
645
            <fileset dir="${src.lib.dir}/shock"/>
642
            <fileset dir="${src.lib.dir}/bzip2"/>
646
            <fileset dir="${src.lib.dir}/bzip2"/>

    
   
647
            <fileset dir="${python.src.dir}"/>
643
        </jar>
648
        </jar>
644
    </target>
649
    </target>
645
    <target name="javadoc-jar" depends="cc-compile, javadoc">
650
    <target name="javadoc-jar" depends="cc-compile, javadoc">
646
        <jar duplicate="preserve" jarfile="${output.jarfile.javadoc}" basedir="${build.javadoc}/">
651
        <jar duplicate="preserve" jarfile="${output.jarfile.javadoc}" basedir="${build.javadoc}/">
647
            <manifest>
652
            <manifest>
[+20] [20] 1002 lines
src/org/apache/pig/PigToStream.java
Revision 7cc2950 New Change
 
src/org/apache/pig/StreamToPig.java
Revision ff24b27 New Change
 
src/org/apache/pig/builtin/PigStreaming.java
Revision 5467693 New Change
 
src/org/apache/pig/builtin/PigToStreamUDF.java
New File
 
src/org/apache/pig/builtin/StreamUDFToPig.java
New File
 
src/org/apache/pig/builtin/StreamingDelimiters.java
New File
 
src/org/apache/pig/builtin/StreamingUDF.java
New File
 
src/org/apache/pig/builtin/StreamingUDFException.java
New File
 
src/org/apache/pig/builtin/StreamingUDFOutputSchemaException.java
New File
 
src/org/apache/pig/impl/streaming/DefaultInputHandler.java
Revision 301bea3 New Change
 
src/org/apache/pig/impl/streaming/DefaultOutputHandler.java
Revision 1b46e7d New Change
 
src/org/apache/pig/impl/streaming/ExecutableManager.java
Revision cf79c83 New Change
 
src/org/apache/pig/impl/streaming/InputHandler.java
Revision 690d94e New Change
 
src/org/apache/pig/impl/streaming/OutputHandler.java
Revision 6e9262a New Change
 
src/org/apache/pig/impl/streaming/StreamingUDFOutputHandler.java
New File
 
src/org/apache/pig/impl/streaming/StreamingUtil.java
New File
 
src/org/apache/pig/impl/util/JarManager.java
Revision 5c4acb0 New Change
 
src/org/apache/pig/impl/util/StorageUtil.java
Revision dcb62ec New Change
 
src/org/apache/pig/scripting/ScriptEngine.java
Revision 29a9e1f New Change
 
  1. build.xml: Loading...
  2. src/org/apache/pig/PigToStream.java: Loading...
  3. src/org/apache/pig/StreamToPig.java: Loading...
  4. src/org/apache/pig/builtin/PigStreaming.java: Loading...
  5. src/org/apache/pig/builtin/PigToStreamUDF.java: Loading...
  6. src/org/apache/pig/builtin/StreamUDFToPig.java: Loading...
  7. src/org/apache/pig/builtin/StreamingDelimiters.java: Loading...
  8. src/org/apache/pig/builtin/StreamingUDF.java: Loading...
  9. src/org/apache/pig/builtin/StreamingUDFException.java: Loading...
  10. src/org/apache/pig/builtin/StreamingUDFOutputSchemaException.java: Loading...
  11. src/org/apache/pig/impl/streaming/DefaultInputHandler.java: Loading...
  12. src/org/apache/pig/impl/streaming/DefaultOutputHandler.java: Loading...
  13. src/org/apache/pig/impl/streaming/ExecutableManager.java: Loading...
  14. src/org/apache/pig/impl/streaming/InputHandler.java: Loading...
  15. src/org/apache/pig/impl/streaming/OutputHandler.java: Loading...
  16. src/org/apache/pig/impl/streaming/StreamingUDFOutputHandler.java: Loading...
  17. src/org/apache/pig/impl/streaming/StreamingUtil.java: Loading...
  18. src/org/apache/pig/impl/util/JarManager.java: Loading...
  19. src/org/apache/pig/impl/util/StorageUtil.java: Loading...
  20. src/org/apache/pig/scripting/ScriptEngine.java: Loading...
This diff has been split across 2 pages: 1 2 >