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 b20eb3d 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] 520 lines
[+20]
568
                <compilerarg line="${javac.args} @{warnings}"/>
569
                <compilerarg line="${javac.args} @{warnings}"/>
569
                <classpath refid="@{cp}" />
570
                <classpath refid="@{cp}" />
570
            </javac>
571
            </javac>
571
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete" todir="${build.classes}/org/apache/pig/tools/grunt"/>
572
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete" todir="${build.classes}/org/apache/pig/tools/grunt"/>
572
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete_aliases" todir="${build.classes}/org/apache/pig/tools/grunt"/>
573
            <copy file="${src.dir}/org/apache/pig/tools/grunt/autocomplete_aliases" todir="${build.classes}/org/apache/pig/tools/grunt"/>

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

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

    
   
576
            </copy>
573
        </sequential>
577
        </sequential>
574
    </macrodef>
578
    </macrodef>
575

    
   
579

   
576
    <!-- ================================================================== -->
580
    <!-- ================================================================== -->
577
    <!-- Documentation                                                      -->
581
    <!-- Documentation                                                      -->
[+20] [20] 58 lines
[+20]
636
                    <attribute name="Implementation-Version" value="${version}" />
640
                    <attribute name="Implementation-Version" value="${version}" />
637
                </section>
641
                </section>
638
            </manifest>
642
            </manifest>
639
            <fileset dir="${src.lib.dir}/shock"/>
643
            <fileset dir="${src.lib.dir}/shock"/>
640
            <fileset dir="${src.lib.dir}/bzip2"/>
644
            <fileset dir="${src.lib.dir}/bzip2"/>

    
   
645
            <fileset dir="${python.src.dir}"/>
641
        </jar>
646
        </jar>
642
    </target>
647
    </target>
643
    <target name="javadoc-jar" depends="cc-compile, javadoc">
648
    <target name="javadoc-jar" depends="cc-compile, javadoc">
644
        <jar duplicate="preserve" jarfile="${output.jarfile.javadoc}" basedir="${build.javadoc}/">
649
        <jar duplicate="preserve" jarfile="${output.jarfile.javadoc}" basedir="${build.javadoc}/">
645
            <manifest>
650
            <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 >