[ https://issues.apache.org/jira/browse/PIG-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767382#action_12767382 ]
hc busy commented on PIG-1016: ------------------------------ alright, I have no clue. Why are "all tests" failing, when each test execute correctly in my environment? What am I doing wrong? Buildfile: build.xml test: ivy-download: [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar [get] To: /Users/h2/tmp/pig/build/trunk/ivy/ivy-2.0.0-rc2.jar [get] Not modified - so not downloaded ivy-init-dirs: ivy-probe-antlib: ivy-init-antlib: ivy-init: [ivy:configure] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = /Users/h2/tmp/pig/build/trunk/ivy/ivysettings.xml ivy-compile: [ivy:resolve] :: resolving dependencies :: org.apache.pig#Pig;0.6.0-dev [ivy:resolve] confs: [compile] [ivy:resolve] found com.jcraft#jsch;0.1.38 in maven2 [ivy:resolve] found jline#jline;0.9.94 in maven2 [ivy:resolve] found net.java.dev.javacc#javacc;4.2 in maven2 [ivy:resolve] :: resolution report :: resolve 167ms :: artifacts dl 4ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | compile | 3 | 0 | 0 | 0 || 3 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: org.apache.pig#Pig [ivy:retrieve] confs: [compile] [ivy:retrieve] 0 artifacts copied, 3 already retrieved (0kB/5ms) No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead :: loading settings :: file = /Users/h2/tmp/pig/build/trunk/ivy/ivysettings.xml init: cc-compile: [move] Moving 1 file to /Users/h2/tmp/pig/build/trunk/build/ivy/lib/Pig compile: [echo] *** Building Main Sources *** [echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line *** [echo] *** If all.warnings property is supplied, compile-sources-all-warnings target will be executed *** [echo] *** Else, compile-sources (which only warns about deprecations) target will be executed *** compile-sources: compile-sources-all-warnings: ivy-test: [ivy:resolve] :: resolving dependencies :: org.apache.pig#Pig;0.6.0-dev [ivy:resolve] confs: [test] [ivy:resolve] found com.jcraft#jsch;0.1.38 in maven2 [ivy:resolve] found jline#jline;0.9.94 in maven2 [ivy:resolve] found net.java.dev.javacc#javacc;4.2 in maven2 [ivy:resolve] found junit#junit;4.5 in maven2 [ivy:resolve] :: resolution report :: resolve 122ms :: artifacts dl 4ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | test | 4 | 0 | 0 | 0 || 4 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: org.apache.pig#Pig [ivy:retrieve] confs: [test] [ivy:retrieve] 1 artifacts copied, 3 already retrieved (288kB/8ms) compile-test: [echo] *** Building Test Sources *** [echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line *** [echo] *** If all.warnings property is supplied, compile-sources-all-warnings target will be executed *** [echo] *** Else, compile-sources (which only warns about deprecations) target will be executed *** compile-sources: [javac] Compiling 1 source file to /Users/h2/tmp/pig/build/trunk/build/test/classes compile-sources-all-warnings: jar-withouthadoop: jar-withouthadoopWithSvn: ivy-download: [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar [get] To: /Users/h2/tmp/pig/build/trunk/ivy/ivy-2.0.0-rc2.jar [get] Not modified - so not downloaded ivy-init-dirs: ivy-probe-antlib: ivy-init-antlib: ivy-init: ivy-buildJar: [ivy:resolve] :: resolving dependencies :: org.apache.pig#Pig;0.6.0-dev [ivy:resolve] confs: [buildJar] [ivy:resolve] found com.jcraft#jsch;0.1.38 in maven2 [ivy:resolve] found jline#jline;0.9.94 in maven2 [ivy:resolve] found net.java.dev.javacc#javacc;4.2 in maven2 [ivy:resolve] found junit#junit;4.5 in maven2 [ivy:resolve] :: resolution report :: resolve 54ms :: artifacts dl 14ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | buildJar | 4 | 0 | 0 | 0 || 4 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: org.apache.pig#Pig [ivy:retrieve] confs: [buildJar] [ivy:retrieve] 0 artifacts copied, 4 already retrieved (0kB/10ms) buildJar-withouthadoop: [echo] svnString 826722 [jar] Building jar: /Users/h2/tmp/pig/build/trunk/build/pig-0.6.0-dev-core.jar [jar] Building jar: /Users/h2/tmp/pig/build/trunk/build/pig-0.6.0-dev-withouthadoop.jar [copy] Copying 1 file to /Users/h2/tmp/pig/build/trunk jar-withouthadoopWithOutSvn: test-core: [delete] Deleting directory /Users/h2/tmp/pig/build/trunk/build/test/logs [mkdir] Created dir: /Users/h2/tmp/pig/build/trunk/build/test/logs [junit] Running org.apache.pig.test.TestCompressedFiles [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 37.968 sec test-contrib: BUILD SUCCESSFUL Total time: 56 seconds > Reading in map data seems broken > -------------------------------- > > Key: PIG-1016 > URL: https://issues.apache.org/jira/browse/PIG-1016 > Project: Pig > Issue Type: Improvement > Components: data > Affects Versions: 0.4.0 > Reporter: hc busy > Attachments: PIG-1016.patch > > > Hi, I'm trying to load a map that has a tuple for value. The read fails in > 0.4.0 because of a misconfiguration in the parser. Where as in almost all > documentation it is stated that value of the map can be any time. > I've attached a patch that allows us to read in complex objects as value as > documented. I've done simple verification of loading in maps with tuple/map > values and writing them back out using LOAD and STORE. All seems to work fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.