Hey Igor, Unfortunately those docs are a bit outdated. You need a config in most cases. We test it like this but the docs and packaging never caught up after we fixed our config story a bit. I have a patch up to refresh things a bit but what you have in the source as is will work. For example, if you had this as single.conf:
[nc] address = 127.0.0.1 cluster.address = 127.0.0.1 cluster.port = 1099 [cc] address = 127.0.0.1 app.class = org.apache.hyracks.control.cc.BaseCCApplication [localnc] node.id = textserver-nc1 And you started the scripts like: bin/hyrackscc -config-file conf/single.conf bin/hyracksnc -config-file conf/single.conf It would start a basic cluster. The wordcount example needs quite a few more args though, you would execute it like so with a local cluster: textclient -host localhost \ -infile-splits textserver-nc1:data/file1.txt \ -outfile-splits textserver-nc1:data/file1.txt.out \ -algo -hash Where the paths are relative to the pwd of the NC process. Also the text example is only really distributed in the source as it stands right now, so you'd have to compile from the top level directory in the source (mvn clean package -DskipTests) and find the proper executable in hyracks-fullstack/hyracks/hyracks-examples/text-example/textclient/target/appassenbler/bin - Ian > Hi, devs > > I'm trying to work with hyracks without Asterix. However, I got a little > confused with how to run the simple WordCount example > (hyracks-examples/text-example). > I've read in a README file (hyracks-server/docs/README) that I should begin > starting CC and NC with bin/hyrackscc.sh and bin/hyracksnc.sh scripts. When > I tried to run these I received the following output: > "my-host-name > eth0: error fetching interface information: Device not found > em1: error fetching interface information: Device not found" > They are running? Is that ok? How to check it out? > And at last but not least, if the CC and NC are going ok, how to run the > WordCount example job on it? > > Thanks! > Ígor Chagas Marques >
