ilovesoup / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

Word count example return incorrect result in fullstack_imru branch #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I followed FirstHyracksExample but result was not correct.

What steps will reproduce the problem?
1. Run the following commands
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
HYRACKS=/data/a/imru/fullstack_imru/hyracks
HYRACKS_BIN=$HYRACKS/hyracks-server/target/hyracks-server-0.2.3-SNAPSHOT-binary-
assembly/bin
$HYRACKS_BIN/hyrackscc -cluster-net-ip-address 127.0.0.1 -client-net-ip-address 
127.0.0.1 &
$HYRACKS_BIN/hyracksnc -cluster-net-ip-address 127.0.0.1 -cc-host localhost 
-data-ip-address 127.0.0.1 -node-id NC1 &
$HYRACKS_BIN/hyracksnc -cluster-net-ip-address 127.0.0.1 -cc-host localhost 
-data-ip-address 127.0.0.1 -node-id NC2 &

2. Then run
HYRACKS=/data/a/imru/fullstack_imru/hyracks
$HYRACKS/hyracks-cli/target/appassembler/bin/hyrackscli

connect to "localhost";
create application text2 
"/data/a/imru/fullstack_imru/hyracks/hyracks-examples/text-example/textapp/targe
t/textapp-0.2.3-SNAPSHOT-app-assembly.zip";

3. Then run
HYRACKS=/data/a/imru/fullstack_imru/hyracks
$HYRACKS/hyracks-examples/text-example/textclient/target/textclient-0.2.3-SNAPSH
OT-binary-assembly/bin/textclient -host localhost -app text2\
 -infile-splits "NC1:/data/a/imru/test/a.txt,NC1:/data/a/imru/test/b.txt"\
 -outfile-splits "NC2:/data/a/imru/test/output.txt" -algo hash

Content of a.txt is,
a
b
c
d

Content of b.txt is,
a
b
c

What is the expected output? What do you see instead?

Result is,
a,2
b,2
c,3
d,2

Should be,
a,2
b,2
c,2
d,1

What version of the product are you using? On what operating system?
fullstack_imru branch. ubuntu 10.04 64bit kernel 2.6.32-45

Please provide any additional information below.
I found this problem a month ago using a easier version which I can't remember. 
I tested it again today using fullstack_imru branch. The problem still exist. 

Original issue reported on code.google.com by cnsdqdwa...@gmail.com on 16 Jan 2013 at 8:35

GoogleCodeExporter commented 9 years ago

Original comment by buyingyi@gmail.com on 16 Jan 2013 at 8:37