You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@airavata.apache.org by "Mihalakopoulos, Spiro" <Sp...@umassmed.edu> on 2015/04/01 23:03:42 UTC

Airavata trunk compilation error

Hi all,

As I mentioned to Suresh via chat a few minutes ago,

I get the following error (which I've been getting for about the last couple of weeks) when doing a
$ mvn clean install


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.428s
[INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015
[INFO] Final Memory: 34M/409M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project airavata-common-utils: Compilation failure: Compilation failure:
[ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/AiravataZKUtils.java:[214,53] cannot find symbol
[ERROR] symbol:   variable BYTES
[ERROR] location: class java.lang.Long
[ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/AiravataZKUtils.java:[220,53] cannot find symbol
[ERROR] symbol:   variable BYTES
[ERROR] location: class java.lang.Long
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :airavata-common-utils
spiros-OptiPlex-980 airavata_trunk #


Actually, now that I look at it, I was getting a GFAC related error the previous days. I don't know if I'm doing something wrong, or if the code is broken.

Kind regards,
Spiros



Spiro Mihalakopoulos | HPC Scientific Programmer
Information Technology
Spiro.Mihalakopoulos@umassmed.edu<https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmith.john%40umassmed.edu>
O. 508-856-3499
Follow us on: Twitter<https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT> | LinkedIn<https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technology-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_1405698393991_1>


RE: Airavata trunk compilation error

Posted by "Mihalakopoulos, Spiro" <Sp...@umassmed.edu>.
Thanks Chathuri,

I've updated to 1.8 and the build works now.
I've also subscribed to the dev list, so I won't miss important info in the future ;-)

Regards,

Spiro Mihalakopoulos | HPC Scientific Programmer
Information Technology
Spiro.Mihalakopoulos@umassmed.edu
O. 508-856-3499
Follow us on: Twitter | LinkedIn


-----Original Message-----
From: Marlon Pierce [mailto:marpierc@iu.edu] 
Sent: Thursday, April 02, 2015 10:32 AM
To: users@airavata.apache.org
Subject: Re: Airavata trunk compilation error

Although we want to encourage people to migrate to 1.8 since Oracle is dropping support for Java 1.7, our 1.8 requirement is really only 1-2 lines of code.  Can we not change this to be backward compatible?

On 4/2/15 9:42 AM, Chathuri Wimalasena wrote:
> Hi Spiro,
>
> As discussed in the dev list, to build airavata, you need to have java 1.8.
> This compilation error is due to that. Please upgrade your java to 1.8 
> and try again.
>
> Thanks,
> Chathuri
>
> On Wed, Apr 1, 2015 at 5:03 PM, Mihalakopoulos, Spiro < 
> Spiro.Mihalakopoulos@umassmed.edu> wrote:
>
>>    Hi all,
>>
>>   As I mentioned to Suresh via chat a few minutes ago,
>>
>>   I get the following error (which I've been getting for about the 
>> last couple of weeks) when doing a
>>   $ mvn clean install
>>
>>
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 25.428s
>> [INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015 [INFO] Final Memory: 
>> 34M/409M [INFO] 
>> ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:
>> maven-compiler-plugin:3.1:compile (default-compile) on project
>> airavata-common-utils: Compilation failure: Compilation failure:
>> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/
>> commons/utils/src/main/java/org/apache/airavata/common/
>> utils/AiravataZKUtils.java:[214,53] cannot find symbol
>> [ERROR] symbol:   variable BYTES
>> [ERROR] location: class java.lang.Long [ERROR] 
>> /home/spiros/dev/Airavata/airavata_trunk/modules/
>> commons/utils/src/main/java/org/apache/airavata/common/
>> utils/AiravataZKUtils.java:[220,53] cannot find symbol
>> [ERROR] symbol:   variable BYTES
>> [ERROR] location: class java.lang.Long [ERROR] -> [Help 1] [ERROR] 
>> [ERROR] To see the full stack trace of the errors, re-run Maven with 
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions, 
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
>> MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with 
>> the command
>> [ERROR]   mvn <goals> -rf :airavata-common-utils
>> spiros-OptiPlex-980 airavata_trunk #
>>
>>
>>   Actually, now that I look at it, I was getting a GFAC related error 
>> the previous days. I don't know if I'm doing something wrong, or if 
>> the code is broken.
>>
>>   Kind regards,
>>   Spiros
>>
>>
>>
>>    *Spiro Mihalakopoulos | HPC Scientific Programmer* Information 
>> Technology Spiro.Mihalakopoulos@umassmed.edu 
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn
>> 0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmit
>> h.john%40umassmed.edu>
>> O. 508-856-3499
>> Follow us on: Twitter
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT>
>>   | LinkedIn
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn
>> 0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2
>> fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technol
>> ogy-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_
>> 1405698393991_1>
>>
>>


Re: Airavata trunk compilation error

Posted by Marlon Pierce <ma...@iu.edu>.
Although we want to encourage people to migrate to 1.8 since Oracle is 
dropping support for Java 1.7, our 1.8 requirement is really only 1-2 
lines of code.  Can we not change this to be backward compatible?

On 4/2/15 9:42 AM, Chathuri Wimalasena wrote:
> Hi Spiro,
>
> As discussed in the dev list, to build airavata, you need to have java 1.8.
> This compilation error is due to that. Please upgrade your java to 1.8 and
> try again.
>
> Thanks,
> Chathuri
>
> On Wed, Apr 1, 2015 at 5:03 PM, Mihalakopoulos, Spiro <
> Spiro.Mihalakopoulos@umassmed.edu> wrote:
>
>>    Hi all,
>>
>>   As I mentioned to Suresh via chat a few minutes ago,
>>
>>   I get the following error (which I've been getting for about the last
>> couple of weeks) when doing a
>>   $ mvn clean install
>>
>>
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 25.428s
>> [INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015
>> [INFO] Final Memory: 34M/409M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:
>> maven-compiler-plugin:3.1:compile (default-compile) on project
>> airavata-common-utils: Compilation failure: Compilation failure:
>> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/
>> commons/utils/src/main/java/org/apache/airavata/common/
>> utils/AiravataZKUtils.java:[214,53] cannot find symbol
>> [ERROR] symbol:   variable BYTES
>> [ERROR] location: class java.lang.Long
>> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/
>> commons/utils/src/main/java/org/apache/airavata/common/
>> utils/AiravataZKUtils.java:[220,53] cannot find symbol
>> [ERROR] symbol:   variable BYTES
>> [ERROR] location: class java.lang.Long
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
>> MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :airavata-common-utils
>> spiros-OptiPlex-980 airavata_trunk #
>>
>>
>>   Actually, now that I look at it, I was getting a GFAC related error the
>> previous days. I don't know if I'm doing something wrong, or if the code is
>> broken.
>>
>>   Kind regards,
>>   Spiros
>>
>>
>>
>>    *Spiro Mihalakopoulos | HPC Scientific Programmer*
>> Information Technology
>> Spiro.Mihalakopoulos@umassmed.edu
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmith.john%40umassmed.edu>
>> O. 508-856-3499
>> Follow us on: Twitter
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT>
>>   | LinkedIn
>> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technology-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_1405698393991_1>
>>
>>


Re: Airavata trunk compilation error

Posted by Chathuri Wimalasena <ka...@gmail.com>.
Hi Spiro,

As discussed in the dev list, to build airavata, you need to have java 1.8.
This compilation error is due to that. Please upgrade your java to 1.8 and
try again.

Thanks,
Chathuri

On Wed, Apr 1, 2015 at 5:03 PM, Mihalakopoulos, Spiro <
Spiro.Mihalakopoulos@umassmed.edu> wrote:

>   Hi all,
>
>  As I mentioned to Suresh via chat a few minutes ago,
>
>  I get the following error (which I've been getting for about the last
> couple of weeks) when doing a
>  $ mvn clean install
>
>
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 25.428s
> [INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015
> [INFO] Final Memory: 34M/409M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-compiler-plugin:3.1:compile (default-compile) on project
> airavata-common-utils: Compilation failure: Compilation failure:
> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/
> commons/utils/src/main/java/org/apache/airavata/common/
> utils/AiravataZKUtils.java:[214,53] cannot find symbol
> [ERROR] symbol:   variable BYTES
> [ERROR] location: class java.lang.Long
> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/
> commons/utils/src/main/java/org/apache/airavata/common/
> utils/AiravataZKUtils.java:[220,53] cannot find symbol
> [ERROR] symbol:   variable BYTES
> [ERROR] location: class java.lang.Long
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :airavata-common-utils
> spiros-OptiPlex-980 airavata_trunk #
>
>
>  Actually, now that I look at it, I was getting a GFAC related error the
> previous days. I don't know if I'm doing something wrong, or if the code is
> broken.
>
>  Kind regards,
>  Spiros
>
>
>
>   *Spiro Mihalakopoulos | HPC Scientific Programmer*
> Information Technology
> Spiro.Mihalakopoulos@umassmed.edu
> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmith.john%40umassmed.edu>
> O. 508-856-3499
> Follow us on: Twitter
> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT>
>  | LinkedIn
> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technology-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_1405698393991_1>
>
>