hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arian Azin <ariansa...@gmail.com>
Subject Re: How to run Hama programs in Hadoop
Date Mon, 02 Jun 2014 18:46:22 GMT
I think you can look up the Hadoop API to read from and write to HDFS from
your program. There are classes like FileSystem, FSDataInputStream, and
FSDataOutputStream for the matter.


On Mon, Jun 2, 2014 at 9:59 PM, Jestin Joy <jestinjoy@gmail.com> wrote:

> In the SSSP example data is read from and written in local filesystem. How
> to do it in HDFS? I have SSSP working from local file system. What should
> be changed to take data from HDFS?
>
> Jestin Joy
> Ph:9446764386 (KL)
> Follow me  @ http://twitter.com/jestinjoy
>
>
> On Sat, May 31, 2014 at 5:55 PM, Edward J. Yoon <edwardyoon@apache.org>
> wrote:
>
> > Start the hama deamons, and submit a hama program to hama cluster.
> >
> > Sent from my iPhone
> >
> > > On 2014. 5. 31., at 오후 7:49, Jestin Joy <jestinjoy@gmail.com> wrote:
> > >
> > > I have solved it by pointing to the correct jar. I have few questions
> > > remaining.
> > >
> > > 1. What happens when I run the command mvn clean install -Phadoop2
> > > -Dhadoop.version=2.2.0?
> > > 2. Whether the above command will install hadoop 2.2 along with hama or
> > > just compile compile hama against hadoop 2.2?
> > > 3. What needs to be done to run hama programs in hadoop after this?
> > >
> > >
> > >
> > >> On Sat, May 31, 2014 at 3:21 PM, Jestin Joy <jestinjoy@gmail.com>
> > wrote:
> > >>
> > >>
> > >> I got it working
> > >>
> > >> [INFO] Reactor Summary:
> > >> [INFO]
> > >> [INFO] Apache Hama parent POM ............................ SUCCESS
> > [9.091s]
> > >> [INFO] pipes ............................................. SUCCESS
> > >> [18.581s]
> > >> [INFO] commons ........................................... SUCCESS
> > [8.276s]
> > >> [INFO] core .............................................. SUCCESS
> > >> [1:11.962s]
> > >> [INFO] graph ............................................. SUCCESS
> > >> [30.972s]
> > >> [INFO] machine learning .................................. SUCCESS
> > [8.643s]
> > >> [INFO] examples .......................................... SUCCESS
> > [6.986s]
> > >> [INFO] hama-dist ......................................... SUCCESS
> > >> [46.855s]
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] BUILD SUCCESS
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Total time: 3:22.340s
> > >> [INFO] Finished at: Sat May 31 15:12:17 IST 2014
> > >> [INFO] Final Memory: 119M/299M
> > >>
> > >> When I run a sample program from Eclipse I am getting error with
> > >>
> > >> import org.apache.hama.HamaConfiguration;
> > >> import org.apache.hama.bsp.BSPJob;
> > >> import org.apache.hama.bsp.BSPJobClient;
> > >> import org.apache.hama.bsp.BSPPeer;
> > >> import org.apache.hama.bsp.ClusterStatus;
> > >> import org.apache.hama.bsp.FileOutputFormat;
> > >> import org.apache.hama.bsp.NullInputFormat;
> > >> import org.apache.hama.bsp.Superstep;
> > >> import org.apache.hama.bsp.SuperstepBSP;
> > >> import org.apache.hama.bsp.TextOutputFormat;
> > >> import org.apache.hama.bsp.message.type.DoubleMessage;
> > >>
> > >> not resolved.
> > >>
> > >> In the lib folder I have the following jars
> > >>
> > >> ant-1.7.1.jar                           jackson-core-asl-1.9.2.jar
> > >> ant-launcher-1.7.1.jar                  jackson-mapper-asl-1.9.2.jar
> > >> commons-cli-1.2.jar                     jetty-6.1.14.jar
> > >> commons-configuration-1.7.jar           jetty-annotations-6.1.14.jar
> > >> commons-httpclient-3.0.1.jar            jetty-util-6.1.14.jar
> > >> commons-io-2.4.jar                      jsp-2.1-6.1.14.jar
> > >> commons-lang-2.6.jar                    jsp-api-2.1-6.1.14.jar
> > >> commons-logging-1.1.1.jar               junit-4.8.1.jar
> > >> commons-math3-3.0.jar                   log4j-1.2.16.jar
> > >> guava-13.0.1.jar                        protobuf-java-2.5.0.jar
> > >> hadoop-auth-2.2.0.jar                   servlet-api-6.0.32.jar
> > >> hadoop-common-2.2.0.jar                 slf4j-api-1.5.8.jar
> > >> hadoop-hdfs-2.2.0.jar                   slf4j-log4j12-1.5.8.jar
> > >> hadoop-hdfs-2.2.0-tests.jar             snappy-java-1.0.5.jar
> > >> hadoop-mapreduce-client-core-2.2.0.jar  zookeeper-3.4.5.jar
> > >> hama-commons-0.6.4.jar
> > >>
> > >>
> > >> The program was running  successfully with earlier installation (not
> the
> > >> src one)
> > >>
> > >> On Sat, May 31, 2014 at 2:57 PM, Edward J. Yoon <
> edwardyoon@apache.org>
> > >> wrote:
> > >>
> > >>> Do you use Java 8? If so, please try with Java 7.
> > >>>
> > >>>> On Sat, May 31, 2014 at 6:14 PM, Jestin Joy <jestinjoy@gmail.com>
> > wrote:
> > >>>> When I run this I am getting error like
> > >>>>
> > >>>> 100 warnings
> > >>>> [INFO]
> > >>>>
> > ------------------------------------------------------------------------
> > >>>> [INFO] Reactor Summary:
> > >>>> [INFO]
> > >>>> [INFO] Apache Hama parent POM ............................ SUCCESS
> > >>>> [4:25.238s]
> > >>>> [INFO] pipes ............................................. SUCCESS
> > >>>> [1:18.166s]
> > >>>> [INFO] commons ........................................... FAILURE
> > >>> [36.962s]
> > >>>> [INFO] core .............................................. SKIPPED
> > >>>> [INFO] graph ............................................. SKIPPED
> > >>>> [INFO] machine learning .................................. SKIPPED
> > >>>> [INFO] examples .......................................... SKIPPED
> > >>>> [INFO] hama-dist ......................................... SKIPPED
> > >>>> [INFO]
> > >>>>
> > ------------------------------------------------------------------------
> > >>>> [INFO] BUILD FAILURE
> > >>>> [INFO]
> > >>>>
> > ------------------------------------------------------------------------
> > >>>> [INFO] Total time: 6:34.051s
> > >>>> [INFO] Finished at: Sat May 31 14:46:06 IST 2014
> > >>>> [INFO] Final Memory: 44M/153M
> > >>>> [INFO]
> > >>>>
> > ------------------------------------------------------------------------
> > >>>> [ERROR] Failed to execute goal
> > >>>> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (default)
on
> > >>>> project hama-commons: MavenReportException: Error while creating
> > >>> archive:
> > >>>> [ERROR] Exit code: 1 -
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleDoubleFunction.java:30:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param x1
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleDoubleFunction.java:31:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param x2
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleDoubleFunction.java:39:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param x1
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleDoubleFunction.java:40:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param x2
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:182:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public final double[] getColumn(int col) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:182:
> > >>>> warning: no @return
> > >>>> [ERROR] public final double[] getColumn(int col) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:212:
> > >>>> warning: no @return
> > >>>> [ERROR] public final double[][] getValues() {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:219:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public final double[] getRow(int row) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:219:
> > >>>> warning: no @return
> > >>>> [ERROR] public final double[] getRow(int row) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:254:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public final void setRow(int row, double[] value) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:254:
> > >>>> warning: no @param for value
> > >>>> [ERROR] public final void setRow(int row, double[] value) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:262:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public final void setColumn(int col, double[] values) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:262:
> > >>>> warning: no @param for values
> > >>>> [ERROR] public final void setColumn(int col, double[] values) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:291:
> > >>>> warning: no @return
> > >>>> [ERROR] public String sizeToString() {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:750:
> > >>>> warning: no @param for dimension
> > >>>> [ERROR] public static DenseDoubleMatrix eye(int dimension) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:750:
> > >>>> warning: no @return
> > >>>> [ERROR] public static DenseDoubleMatrix eye(int dimension) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:763:
> > >>>> warning: no @param for matrix
> > >>>> [ERROR] public static DenseDoubleMatrix copy(DenseDoubleMatrix
> > matrix) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:763:
> > >>>> warning: no @return
> > >>>> [ERROR] public static DenseDoubleMatrix copy(DenseDoubleMatrix
> > matrix) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:780:
> > >>>> warning: no @param for transposed
> > >>>> [ERROR] public static DenseDoubleMatrix multiplyTransposedVectors(
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:780:
> > >>>> warning: no @param for normal
> > >>>> [ERROR] public static DenseDoubleMatrix multiplyTransposedVectors(
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:780:
> > >>>> warning: no @return
> > >>>> [ERROR] public static DenseDoubleMatrix multiplyTransposedVectors(
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:796:
> > >>>> warning: no @param for a
> > >>>> [ERROR] public static double error(DenseDoubleMatrix a,
> > >>> DenseDoubleMatrix
> > >>>> b) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:796:
> > >>>> warning: no @param for b
> > >>>> [ERROR] public static double error(DenseDoubleMatrix a,
> > >>> DenseDoubleMatrix
> > >>>> b) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DenseDoubleMatrix.java:796:
> > >>>> warning: no @return
> > >>>> [ERROR] public static double error(DenseDoubleMatrix a,
> > >>> DenseDoubleMatrix
> > >>>> b) {
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:36:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public double get(int row, int col);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:36:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public double get(int row, int col);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:42:
> > >>>> warning: no @return
> > >>>> [ERROR] public int getColumnCount();
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:47:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public DoubleVector getColumnVector(int col);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:47:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleVector getColumnVector(int col);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:53:
> > >>>> warning: no @return
> > >>>> [ERROR] public int getRowCount();
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:58:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public DoubleVector getRowVector(int row);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:58:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleVector getRowVector(int row);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:63:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public void set(int row, int col, double value);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:63:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public void set(int row, int col, double value);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:63:
> > >>>> warning: no @param for value
> > >>>> [ERROR] public void set(int row, int col, double value);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:68:
> > >>>> warning: no @param for col
> > >>>> [ERROR] public void setColumnVector(int col, DoubleVector column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:68:
> > >>>> warning: no @param for column
> > >>>> [ERROR] public void setColumnVector(int col, DoubleVector column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:73:
> > >>>> warning: no @param for rowIndex
> > >>>> [ERROR] public void setRowVector(int rowIndex, DoubleVector row);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:73:
> > >>>> warning: no @param for row
> > >>>> [ERROR] public void setRowVector(int rowIndex, DoubleVector row);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:79:
> > >>>> warning: no @param for scalar
> > >>>> [ERROR] public DoubleMatrix multiply(double scalar);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:79:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix multiply(double scalar);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:85:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:93:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:100:
> > >>>> warning: no @param for other
> > >>>> [ERROR] public DoubleMatrix multiplyElementWiseUnsafe(DoubleMatrix
> > >>> other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:100:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix multiplyElementWiseUnsafe(DoubleMatrix
> > >>> other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:107:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:115:
> > >>>> warning: no @param for v
> > >>>> [ERROR] public DoubleVector multiplyVectorUnsafe(DoubleVector v);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:115:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleVector multiplyVectorUnsafe(DoubleVector v);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:122:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:129:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix transpose();
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:132:
> > >>>> error: self-closing element not allowed
> > >>>> [ERROR] * Substracts the given amount by each element in this
> matrix.
> > >>> <br/>
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:135:
> > >>>> warning: no @param for amount
> > >>>> [ERROR] public DoubleMatrix subtractBy(double amount);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:135:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix subtractBy(double amount);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:138:
> > >>>> error: self-closing element not allowed
> > >>>> [ERROR] * Subtracts each element in this matrix by the given
> > >>> amount.<br/>
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:141:
> > >>>> warning: no @param for amount
> > >>>> [ERROR] public DoubleMatrix subtract(double amount);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:141:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix subtract(double amount);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:146:
> > >>>> warning: no @param for other
> > >>>> [ERROR] public DoubleMatrix subtractUnsafe(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:146:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix subtractUnsafe(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:151:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param other
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:152:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:160:
> > >>>> warning: no @param for vec
> > >>>> [ERROR] public DoubleMatrix subtractUnsafe(DoubleVector vec);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:160:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix subtractUnsafe(DoubleVector vec);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:166:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param vec
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:167:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:175:
> > >>>> warning: no @param for vec
> > >>>> [ERROR] public DoubleMatrix divideUnsafe(DoubleVector vec);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:175:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix divideUnsafe(DoubleVector vec);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:181:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param vec
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:182:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:189:
> > >>>> warning: no @param for other
> > >>>> [ERROR] public DoubleMatrix divideUnsafe(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:189:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix divideUnsafe(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:195:
> > >>>> warning: no description for @param
> > >>>> [ERROR] * @param other
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:196:
> > >>>> warning: no description for @return
> > >>>> [ERROR] * @return
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:203:
> > >>>> warning: no @param for scalar
> > >>>> [ERROR] public DoubleMatrix divide(double scalar);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:203:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix divide(double scalar);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:208:
> > >>>> warning: no @param for other
> > >>>> [ERROR] public DoubleMatrix add(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:208:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix add(DoubleMatrix other);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:211:
> > >>>> error: self-closing element not allowed
> > >>>> [ERROR] * Pows each element by the given argument. <br/>
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:214:
> > >>>> warning: no @param for x
> > >>>> [ERROR] public DoubleMatrix pow(int x);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:214:
> > >>>> warning: no @return
> > >>>> [ERROR] public DoubleMatrix pow(int x);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:219:
> > >>>> warning: no @param for column
> > >>>> [ERROR] public double max(int column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:219:
> > >>>> warning: no @return
> > >>>> [ERROR] public double max(int column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:224:
> > >>>> warning: no @param for column
> > >>>> [ERROR] public double min(int column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:224:
> > >>>> warning: no @return
> > >>>> [ERROR] public double min(int column);
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:229:
> > >>>> warning: no @return
> > >>>> [ERROR] public double sum();
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:234:
> > >>>> warning: no @return
> > >>>> [ERROR] public int[] columnIndices();
> > >>>> [ERROR] ^
> > >>>> [ERROR]
> > >>>
> >
> /media/vids/hama-0.6.4-src/commons/src/main/java/org/apache/hama/commons/math/DoubleMatrix.java:239:
> > >>>> warning: no @return
> > >>>> [ERROR] public boolean isSparse();
> > >>>>
> > >>>>
> > >>>> Jestin Joy
> > >>>> Ph:9446764386 (KL)
> > >>>> Follow me  @ http://twitter.com/jestinjoy
> > >>>>
> > >>>>
> > >>>> On Sat, May 31, 2014 at 12:42 PM, Edward J. Yoon <
> > edwardyoon@apache.org
> > >>>>
> > >>>> wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> Please download a src-release tarball and build with following
> > command:
> > >>>>>
> > >>>>> % mvn clean install -Phadoop2 -Dhadoop.version=2.2.0
> > >>>>>
> > >>>>> On Sat, May 31, 2014 at 3:33 PM, Jestin Joy <jestinjoy@gmail.com>
> > >>> wrote:
> > >>>>>> I have hama programs and hadoop(2.2) programs running separately.
> > >>> What
> > >>>>>> should be done to run Hama programs with Hadoop. I am looking
for
> > >>> Pseudo
> > >>>>>> Distributed Mode (Single System)
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> --
> > >>>>> Best Regards, Edward J. Yoon
> > >>>>> CEO at DataSayer Co., Ltd.
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Best Regards, Edward J. Yoon
> > >>> CEO at DataSayer Co., Ltd.
> > >>
> > >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message