You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Will L (Created) (JIRA)" <ji...@apache.org> on 2011/12/16 17:34:31 UTC

[jira] [Created] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Hadoop Eclipse Plugin doesn't work in OS X Lion.
------------------------------------------------

                 Key: MAPREDUCE-3576
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/eclipse-plugin
    Affects Versions: 0.20.203.0
         Environment: Mac OS X Lion
            Reporter: Will L
            Priority: Critical
             Fix For: 0.20.203.0


The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 

It gives an error when trying to connect to the DFS saying "Failed to login".  

--
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] [Updated] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "Will L (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will L updated MAPREDUCE-3576:
------------------------------

    Attachment: Screen Shot 2012-01-03 at 11.17.47 PM.png
    
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>            Priority: Critical
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

--
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] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "SAURAV PAUL (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453249#comment-13453249 ] 

SAURAV PAUL commented on MAPREDUCE-3576:
----------------------------------------

Hadoop Eclipse Plugin 1.0.3 jar; It not working on OS X Lion (10.7.4) and
Eclipse Helios Service Release 2 (Build id: 20110218-0911) and java version 1.6.0_35
I am using Hadoop 1.0.3 
I get "Error:login failed"
                
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "Abhi Singh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211365#comment-13211365 ] 

Abhi Singh commented on MAPREDUCE-3576:
---------------------------------------

Hi Harsh,
Please find below the log that you are looking for.

!ENTRY org.eclipse.core.net 1 0 2012-02-19 14:21:23.647
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.core.jobs 4 2 2012-02-19 14:21:36.946
!MESSAGE An internal error occurred during: "Connecting to DFS localhost".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<init>(DefaultMetricsSystem.java:37)
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(DefaultMetricsSystem.java:34)
	at org.apache.hadoop.security.UgiInstrumentation.create(UgiInstrumentation.java:51)
	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:196)
	at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:159)
	at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:216)
	at org.apache.hadoop.security.KerberosName.<clinit>(KerberosName.java:83)
	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:189)
	at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:159)
	at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:216)
	at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:409)
	at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:395)
	at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1418)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1319)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:109)
	at org.apache.hadoop.eclipse.server.HadoopServer.getDFS(HadoopServer.java:463)
	at org.apache.hadoop.eclipse.dfs.DFSPath.getDFS(DFSPath.java:146)
	at org.apache.hadoop.eclipse.dfs.DFSFolder.loadDFSFolderChildren(DFSFolder.java:61)
	at org.apache.hadoop.eclipse.dfs.DFSFolder$1.run(DFSFolder.java:178)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.Configuration
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 21 more
                
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>            Priority: Critical
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

--
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] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "Will L (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180092#comment-13180092 ] 

Will L commented on MAPREDUCE-3576:
-----------------------------------

Hi Harsh,
You're very welcome. I really like using the Hadoop Eclipse Plugin under OS X Snow Leopard and 3.7.1 with Hadoop 0.20.205.0. 

The potentials in particular which you mentioned [HADOOP-7489|https://issues.apache.org/jira/browse/HADOOP-7489], according to the Hadoop documentation packaged with Hadoop 1.0.0, they recommend adding the following in your conf/hadoop-env.sh which I have set:
export HADOOP_OPTS="-Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"

I came across this issue before and after doing a lot of Google-ing, this was not the main cause of my Eclipse Hadoop Plugin not working. 

I will work on when trying to figure out how to debug the Eclipse runtime when the Hadoop Plugin tries to access Hadoop. I'm not too sure how to do that myself, but I'll see what I can come up with. Hopefully some other Hadoop Eclipse users can add their thoughts and comments on this JIRA issue as well.

Thank you very much for your time, help and response! I'm really hoping that this issue can get resolved so I can start doing Hadoop under OS X Lion using Eclipse 3.7.1 and the latest version of Hadoop.
                
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>            Priority: Critical
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

--
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] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "Will L (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179324#comment-13179324 ] 

Will L commented on MAPREDUCE-3576:
-----------------------------------

I have tried this under OS X Lion using: 
Eclipse 3.7.1 using the following Hadoop versions:
* 1.0.0
* 0.20.203.0
* 0.20.205.0
* 0.21.0
* 0.23.0

I still get the same error. I am able to SSH into localhost without supplying a password.
                
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>            Priority: Critical
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

--
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] (MAPREDUCE-3576) Hadoop Eclipse Plugin doesn't work in OS X Lion.

Posted by "Harsh J (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179365#comment-13179365 ] 

Harsh J commented on MAPREDUCE-3576:
------------------------------------

Hello Will, thanks for taking the time and reporting this!

Lion's default JVM had a few issues with Hadoop, could you eliminate those potentials out? HADOOP-7489 is one.

SSH is not a requirement though. It'd be great if you could also pull out some logs from the eclipse runtime (am not sure how to, perhaps there's a view for application logs), to know what exactly the issue seems to be when the plugin tries to connect.
                
> Hadoop Eclipse Plugin doesn't work in OS X Lion.
> ------------------------------------------------
>
>                 Key: MAPREDUCE-3576
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3576
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>    Affects Versions: 0.20.203.0
>         Environment: Mac OS X Lion
>            Reporter: Will L
>            Priority: Critical
>             Fix For: 0.20.203.0
>
>         Attachments: Screen Shot 2012-01-03 at 11.17.47 PM.png
>
>
> The Hadoop Eclipse plugin version 0.20.203 and 0.20.205 works on Mac OS X Snow Leopard with Eclipse 3.7.1. 
> It gives an error when trying to connect to the DFS saying "Failed to login".  

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