You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org> on 2011/11/16 05:24:53 UTC

[jira] [Commented] (BIGTOP-258) Compilation Error in sqoop-integration project when using Eclipse

    [ https://issues.apache.org/jira/browse/BIGTOP-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151011#comment-13151011 ] 

Roman Shaposhnik commented on BIGTOP-258:
-----------------------------------------

I'm actually pretty sure this is legitimate groovy. Now, with Groovy, of course, there's no standard so one has to rely on the implementation to determine things like that. Lets see:

$ cat q.groovy
class Q {
   private static final String S = System.getProperty("S", "");
   String getS() { return S; }
}

println new Q().getS();

$ groovy -DS=roman q.groovy
roman
$ 


                
> Compilation Error in sqoop-integration project when using Eclipse
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-258
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-258
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.1.0
>         Environment: RHEL 6.1, 64-bit
> Eclipse 3.7 SR1
>            Reporter: Will McQueen
>            Assignee: Will McQueen
>
> The squoop-integration project has a compiler error in these 2 files:
> 1) IntegrationTestSqoopHBase.groovy
> 2) IntegrationTestSqoopHive.groovy
> In both cases, the setUp method has a statement that's attempting to assign a value to a final field:
>      MYSQL_ROOTPW = " -p$MYSQL_ROOTPW";

--
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