'bin/hama' script will execute Java with runtime options as below: # run it exec "$JAVA" $JAVA_HEAP_MAX $HAMA_OPTS -classpath "$CLASSPATH" $CLASS "$@"
That's all. Like so, you can run your program directly in console. # java -Xmx=512m YourMapReduce -classpath blah~ blah~ Then, it'll work. Thanks. On Thu, Nov 12, 2009 at 2:45 PM, <[email protected]> wrote: > Abhishek Agrawal > > SUNY- Buffalo > (716-435-7122) > > On Thu 11/12/09 12:26 AM , "Edward J. Yoon" [email protected] sent: >> > The word count example is working fine. If I >> call matrix multiplication by> using bin/hama examples mult then also map >> reduce is working. >> So, I guess your problem is in wrong your project configuration. > Can I do some thing to check the project configuration ? I cannot > understand > what the mistake could be > >> >> > It is just in this >> > program that map reduce does not start. I tried >> to print the values of the> matrices. I could print them. The values are as >> under: Is there a problem if the> values are negative, very small( all my >> values >> are less than 0.00) >> I would recommend to test your application using 'bin/hama examples'. >> >> 1) Edit the org.apache.hama.examples.MatrixMultiplication.java directly >> 2) Rebuild the hama >> 3) Run it. >> >> If it's working well, you'll need to check your project. > What do I check in the project. I know my matrices exist. I know > map-reduce > runs but I cannot figure out why they are not working together > >> >> On Thu, Nov 12, 2009 at 1:01 PM, lo.edu> wrote:> Hey, >> > Â Â The word count >> example is working fine. If I call matrix multiplication by> using bin/hama > examples mult then also map >> reduce is working. It is just in this> program that map reduce does not >> start. > I tried >> to print the values of the> matrices. I could print them. The values are as >> under: Is there a problem if the> values are negative, very small( all my >> values >> are less than 0.00)> >> > Matrix 1 >> > >> > 0.018228 -0.023918 -0.004047 0.014295 0.004610 >> 0.007284 -0.000000> -0.023918 0.122461 -0.007904 -0.037049 -0.016175 >> -0.009571 -0.000000> -0.004047 -0.007904 0.001619 -0.002112 0.000250 >> 0.001154 -0.000000> 0.014295 -0.037049 -0.002112 0.213449 0.005019 >> -0.001280 -0.000000> 0.004610 -0.016175 0.000250 0.005019 0.015620 >> 0.005263 -0.000000> 0.007284 -0.009571 0.001154 -0.001280 0.005263 >> 0.009548 -0.000000> -0.000000 -0.000000 -0.000000 -0.000000 >> -0.000000 -0.000000 -0.000000> >> > Matrix 2 >> > >> > 0.021744 >> > 0.153683 >> > 0.005159 >> > 0.064664 >> > 0.030826 >> > 0.019943 >> > 0.000000 >> > >> > Abhishek Agrawal >> > >> > SUNY- Buffalo >> > (716-435-7122) >> > >> >> -- >> Best Regards, Edward J. Yoon @ NHN, corp. >> edwardy >> [email protected]http://blog.udanax.org >> >> >> > > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org
