You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Charles Reiss (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 18:45:51 UTC
[jira] [Created] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Java framework test doesn't use JAVA_HOME
-----------------------------------------
Key: MESOS-87
URL: https://issues.apache.org/jira/browse/MESOS-87
Project: Mesos
Issue Type: Bug
Components: java-api, test
Reporter: Charles Reiss
Assignee: Charles Reiss
Priority: Minor
The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "Benjamin Hindman (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Hindman resolved MESOS-87.
-----------------------------------
Resolution: Fixed
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235071#comment-13235071 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/
-----------------------------------------------------------
Review request for mesos and Benjamin Hindman.
Summary
-------
Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6).
This addresses bug MESOS-87.
https://issues.apache.org/jira/browse/MESOS-87
Diffs
-----
src/examples/java/test-exception-framework.in 415d355
src/examples/java/test-executor.in 4e8daf6
src/examples/java/test-framework.in 2c12953
src/examples/java/test-multiple-executors-framework.in 04c0d5b
Diff: https://reviews.apache.org/r/4439/diff
Testing
-------
Thanks,
Charles
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237676#comment-13237676 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/#review6333
-----------------------------------------------------------
Ship it!
Thanks.
- Benjamin
On 2012-03-24 21:02:30, Charles Reiss wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4439/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-03-24 21:02:30)
bq.
bq.
bq. Review request for mesos and Benjamin Hindman.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6).
bq.
bq.
bq. This addresses bug MESOS-87.
bq. https://issues.apache.org/jira/browse/MESOS-87
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/examples/java/test-exception-framework.in 415d355
bq. src/examples/java/test-executor.in 4e8daf6
bq. src/examples/java/test-framework.in 2c12953
bq. src/examples/java/test-multiple-executors-framework.in 04c0d5b
bq.
bq. Diff: https://reviews.apache.org/r/4439/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Charles
bq.
bq.
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237672#comment-13237672 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/
-----------------------------------------------------------
(Updated 2012-03-24 21:02:30.234499)
Review request for mesos and Benjamin Hindman.
Summary
-------
Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6).
This addresses bug MESOS-87.
https://issues.apache.org/jira/browse/MESOS-87
Diffs (updated)
-----
src/examples/java/test-exception-framework.in 415d355
src/examples/java/test-executor.in 4e8daf6
src/examples/java/test-framework.in 2c12953
src/examples/java/test-multiple-executors-framework.in 04c0d5b
Diff: https://reviews.apache.org/r/4439/diff
Testing
-------
Thanks,
Charles
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237666#comment-13237666 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/#review6328
-----------------------------------------------------------
src/examples/java/test-exception-framework.in
<https://reviews.apache.org/r/4439/#comment13752>
Is using the '-' semantics standard Bourne Shell or does this require BASH?
src/examples/java/test-exception-framework.in
<https://reviews.apache.org/r/4439/#comment13753>
Here and everywhere else: s/$JAVA/${JAVA}
- Benjamin
On 2012-03-21 21:51:48, Charles Reiss wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4439/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-03-21 21:51:48)
bq.
bq.
bq. Review request for mesos and Benjamin Hindman.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6).
bq.
bq.
bq. This addresses bug MESOS-87.
bq. https://issues.apache.org/jira/browse/MESOS-87
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/examples/java/test-exception-framework.in 415d355
bq. src/examples/java/test-executor.in 4e8daf6
bq. src/examples/java/test-framework.in 2c12953
bq. src/examples/java/test-multiple-executors-framework.in 04c0d5b
bq.
bq. Diff: https://reviews.apache.org/r/4439/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Charles
bq.
bq.
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237671#comment-13237671 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
bq. On 2012-03-24 20:44:31, Benjamin Hindman wrote:
bq. > src/examples/java/test-exception-framework.in, line 9
bq. > <https://reviews.apache.org/r/4439/diff/1/?file=94333#file94333line9>
bq. >
bq. > Is using the '-' semantics standard Bourne Shell or does this require BASH?
It's standard. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
bq. On 2012-03-24 20:44:31, Benjamin Hindman wrote:
bq. > src/examples/java/test-exception-framework.in, line 37
bq. > <https://reviews.apache.org/r/4439/diff/1/?file=94333#file94333line37>
bq. >
bq. > Here and everywhere else: s/$JAVA/${JAVA}
Done.
- Charles
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/#review6328
-----------------------------------------------------------
On 2012-03-24 21:02:30, Charles Reiss wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4439/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-03-24 21:02:30)
bq.
bq.
bq. Review request for mesos and Benjamin Hindman.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6).
bq.
bq.
bq. This addresses bug MESOS-87.
bq. https://issues.apache.org/jira/browse/MESOS-87
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/examples/java/test-exception-framework.in 415d355
bq. src/examples/java/test-executor.in 4e8daf6
bq. src/examples/java/test-framework.in 2c12953
bq. src/examples/java/test-multiple-executors-framework.in 04c0d5b
bq.
bq. Diff: https://reviews.apache.org/r/4439/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Charles
bq.
bq.
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MESOS-87) Java framework test doesn't use
JAVA_HOME
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151380#comment-13151380 ]
jiraposter@reviews.apache.org commented on MESOS-87:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2852/
-----------------------------------------------------------
Review request for mesos.
Summary
-------
Patches all the Java example framework shell scripts to use '$JAVA_HOME/bin/java' (if it is executable) instead of 'java'.
This addresses bug MESOS-87.
https://issues.apache.org/jira/browse/MESOS-87
Diffs
-----
src/examples/java/test_exception_framework be78062
src/examples/java/test_executor d2fbb05
src/examples/java/test_framework 2713b34
src/examples/java/test_multiple_executors_framework 9fad319
Diff: https://reviews.apache.org/r/2852/diff
Testing
-------
Thanks,
Charles
> Java framework test doesn't use JAVA_HOME
> -----------------------------------------
>
> Key: MESOS-87
> URL: https://issues.apache.org/jira/browse/MESOS-87
> Project: Mesos
> Issue Type: Bug
> Components: java-api, test
> Reporter: Charles Reiss
> Assignee: Charles Reiss
> Priority: Minor
>
> The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira