Picon
Favicon

[jira] [Created] (HADOOP-8010) hadoop-config.sh spews error message when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present

hadoop-config.sh spews error message when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present
-------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-8010
                 URL: https://issues.apache.org/jira/browse/HADOOP-8010
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.0.0
            Reporter: Roman Shaposhnik
            Assignee: Roman Shaposhnik
            Priority: Minor
             Fix For: 1.0.1

Running hadoop daemon commands when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present produces:
{noformat}
  [: 76: true: unexpected operator
{noformat}

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

Picon
Favicon

[jira] [Created] (HADOOP-8011) How to use distcp command betwen 2 cluster that different version

How to use distcp command betwen 2 cluster that different version
-----------------------------------------------------------------

                 Key: HADOOP-8011
                 URL: https://issues.apache.org/jira/browse/HADOOP-8011
             Project: Hadoop Common
          Issue Type: New Feature
            Reporter: cldoltd

I have tow cluster 1.0 and 0.2 
how to use distcp to copy betwen 2 cluster
this is error:

Copy failed: java.io.IOException: Call to cluster1 failed on local exception: java.io.EOFException
        at org.apache.hadoop.ipc.Client.wrapException(Client.java:1103)
        at org.apache.hadoop.ipc.Client.call(Client.java:1071)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
        at $Proxy1.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
        at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203)
        at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
        at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:635)
(Continue reading)

Hai Huang | 1 Feb 06:20
Picon
Favicon

Re: Issue on building hadoop native

Thanks, Ronald.

After tried couple of the times, the build is working now.
 
Hai 

________________________________
From: Ronald Petty <ronald.petty@...>
To: Hai Huang <hhuang2012@...> 
Cc: "common-dev@..."
<common-dev@...> 
Sent: Monday, January 30, 2012 12:59:57 AM
Subject: Re: Issue on building hadoop native

Hai,

I don't know the 'official' reason, but it is bad practice to use user ids under 1000.  I presume you are
using root or some typical user account to build this.  The fix for me was to create a new user with an id that
is greater than 1000. 

Here is an example

useradd --id 1001 hadoopuser

I hope that works!

Kindest regards.

Ron

(Continue reading)

Harsh J | 1 Feb 11:51
Gravatar

Re: Debugging 1.0.0 with jdb

I've not used jdb since I almost always use Eclipse to do this, but to
have ant run javac with debug info on, you'll need to find the
relevant <javac> elements and add the attribute 'debug="on"' to them,
to have the javac produce files with debug info. You can then pick up
the generated test jar and run it via jdb?

On Mon, Jan 30, 2012 at 7:17 AM, Tim Broberg <Tim.Broberg@...> wrote:
> I'd like to be able to step through unit tests with jdb to debug my classes.
>
> Is there a quick-and-easy way to rebuild with ant such that debug information is included?
>
> Thanks,
>    - Tim.
>
> The information and any attached documents contained in this message
> may be confidential and/or legally privileged.  The message is
> intended solely for the addressee(s).  If you are not the intended
> recipient, you are hereby notified that any use, dissemination, or
> reproduction is strictly prohibited and may be unlawful.  If you are
> not the intended recipient, please contact the sender immediately by
> return e-mail and destroy all copies of the original message.

--

-- 
Harsh J
Customer Ops. Engineer
Cloudera | http://tiny.cloudera.com/about

Picon
Favicon

[jira] [Resolved] (HADOOP-8011) How to use distcp command betwen 2 cluster that different version


     [
https://issues.apache.org/jira/browse/HADOOP-8011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Bloniarz resolved HADOOP-8011.
------------------------------------

    Resolution: Not A Problem

> How to use distcp command betwen 2 cluster that different version
> -----------------------------------------------------------------
>
>                 Key: HADOOP-8011
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8011
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: cldoltd
>
> I have tow cluster 1.0 and 0.2 
> how to use distcp to copy betwen 2 cluster
> this is error:
> Copy failed: java.io.IOException: Call to cluster1 failed on local exception: java.io.EOFException
>         at org.apache.hadoop.ipc.Client.wrapException(Client.java:1103)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1071)
>         at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
>         at $Proxy1.getProtocolVersion(Unknown Source)
>         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
>         at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
>         at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
>         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238)
(Continue reading)

Ralph Castain | 1 Feb 17:37
Favicon
Gravatar

Re: MPI: Java/JNI help

Thanks Kihwal! This was an excellent suggestion and worked great!

Should have the Java bindings out shortly...

On Jan 31, 2012, at 4:35 PM, Kihwal Lee wrote:

> There might be other tricks you can play with CL, but here is my idea: You could have the initial jni native
lib to become a sort of wrapper to dlopen() the real thing (the one plug-ins depend on) with RTLD_GLOBAL, so
that the fact that the jni library is loaded in a specific name space does not matter.
> 
> Kihwal
> 
> On 1/31/12 4:34 PM, "Ralph Castain" <rhc@...> wrote:
> 
> I was able to dig further into this, and we believe we finally tracked this down to root cause. It appears
that java loads things into a private, as opposed to global, namespace. Thus, the Java MPI bindings load
the initial libmpi just fine.
> 
> However, when libmpi then attempts to load the individual plug-ins beneath it, the load fails due to
"unfound" symbols. Our plug-ins are implemented as individual dll's, and reference symbols from within
the larger libmpi above them. In order to find those symbols, the libraries must be in the global namespace.
> 
> We have a workaround - namely, to disable dlopen so all the plug-ins get pulled up into libmpi. However,
this eliminates the ability for a vendor to distribute a binary, proprietary plug-in that we "absorb"
during dlopen. For the moment, this isn't a big deal, but it could be an issue down the line. We have some
ideas on how to resolve it internally, but it would take a fair amount of work, and have some side-effects.
> 
> Does anyone know if it is possible to convince java to use the global namespace? Or can you point me to
someone/someplace where I should explore the question?
> 
(Continue reading)

Tim Broberg | 1 Feb 18:01
Favicon

RE: Debugging 1.0.0 with jdb

Terrific, thanks, Harsh.

...and I'll take a stab at bringing eclipse up today.

    - Tim.
________________________________________
From: Harsh J [harsh@...]
Sent: Wednesday, February 01, 2012 2:51 AM
To: common-dev@...
Subject: Re: Debugging 1.0.0 with jdb

I've not used jdb since I almost always use Eclipse to do this, but to
have ant run javac with debug info on, you'll need to find the
relevant <javac> elements and add the attribute 'debug="on"' to them,
to have the javac produce files with debug info. You can then pick up
the generated test jar and run it via jdb?

On Mon, Jan 30, 2012 at 7:17 AM, Tim Broberg <Tim.Broberg@...> wrote:
> I'd like to be able to step through unit tests with jdb to debug my classes.
>
> Is there a quick-and-easy way to rebuild with ant such that debug information is included?
>
> Thanks,
>    - Tim.
>
> The information and any attached documents contained in this message
> may be confidential and/or legally privileged.  The message is
> intended solely for the addressee(s).  If you are not the intended
> recipient, you are hereby notified that any use, dissemination, or
> reproduction is strictly prohibited and may be unlawful.  If you are
(Continue reading)

Picon
Favicon

[jira] [Created] (HADOOP-8012) hadoop-daemon.sh and yarn-daemon.sh are trying to mkdir and chow log/pid dirs which can fail

hadoop-daemon.sh and yarn-daemon.sh are trying to mkdir and chow log/pid dirs which can fail
--------------------------------------------------------------------------------------------

                 Key: HADOOP-8012
                 URL: https://issues.apache.org/jira/browse/HADOOP-8012
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.23.0
            Reporter: Roman Shaposhnik
            Assignee: Roman Shaposhnik
            Priority: Minor
             Fix For: 0.23.1

Here's what I see when using Hadoop in Bigtop:

{noformat}
$ sudo /sbin/service hadoop-hdfs-namenode start
Starting Hadoop namenode daemon (hadoop-namenode): chown: changing ownership of `/var/log/hadoop':
Operation not permitted
starting namenode, logging to /var/log/hadoop/hadoop-hdfs-namenode-centos5.out
{noformat}

This is a cosmetic issue, but it would be nice to fix it.

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

(Continue reading)

Hwa Zynn | 2 Feb 04:30
Picon

Fwd: question about branches

Hi, all,

I have a newcomer question. I would like to browse HDFS source code for the
1.0 release, but the Git repository (git://git.apache.org/hadoop-hdfs.git)
for Hadoop-HDFS project doesn't have this branch, not even 0.20. I can see
a lot more branches from Hadoop-Common project (
git://git.apache.org/hadoop-common.git) including branch-1.0 .

Why is that? Does Hadoop-Common branch-1.0 include all source code for HDFS
and MapReduce projects?

Thanks,

Yong
abees muhammad | 2 Feb 16:14
Picon

Execute a Map/Reduce Job Jar from Another Java Program.


Hi,

I am a newbie to Hadoop Development. I have a Map/Reduce job jar file, i
want to execute this jar file programmatically from another java program. I
used the following code to execute it.

RunJar.main(String[] args). But The jar file is not executed.

Can you please give me  a work around for this issue.
--

-- 
View this message in context: http://old.nabble.com/Execute-a-Map-Reduce-Job-Jar-from-Another-Java-Program.-tp33250801p33250801.html
Sent from the Hadoop core-dev mailing list archive at Nabble.com.


Gmane