Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E140F11183 for ; Mon, 21 Jul 2014 03:38:18 +0000 (UTC) Received: (qmail 3123 invoked by uid 500); 21 Jul 2014 03:38:14 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 3017 invoked by uid 500); 21 Jul 2014 03:38:14 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 3002 invoked by uid 99); 21 Jul 2014 03:38:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 03:38:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tuphamphuong@gmail.com designates 209.85.215.68 as permitted sender) Received: from [209.85.215.68] (HELO mail-la0-f68.google.com) (209.85.215.68) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 03:38:08 +0000 Received: by mail-la0-f68.google.com with SMTP id s18so1412418lam.3 for ; Sun, 20 Jul 2014 20:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bANLKZafvDZ4BuHrAcs4WG7GcevhqGibhBship2zCwI=; b=cdJNZ4PP05+YziErw92+hkpiATyjfzA+oSlC3wJEBScYHtkUqw35dFmAup4zr4kZW5 uzNvZiWVAwwdPNRZCdF2caaXvXdpE9nntoS5UzuFhrxbSpFB4nJIHV3lG5GW6X7Jkshf 2mvJvCo/YvuTxk852J3V5FpwgaV1v+7Fssx1Xg9KftZuYNWuboiAwu688M05a3JsXIjY Gcgn1aZ9FmjJ5wCK2dzFpS40YGjGGjlNMam4Uwxjlm72/i7KFZ6wrjH/4wfGhTBP0CK9 o4laGSNDB7qVR1Lmm6bI24FRTgSaZfCjTCri5qiA7nRItL9cnBqZQ/hssqDgGETjBMNa jMGg== MIME-Version: 1.0 X-Received: by 10.152.207.36 with SMTP id lt4mr7870058lac.72.1405913867510; Sun, 20 Jul 2014 20:37:47 -0700 (PDT) Received: by 10.112.136.231 with HTTP; Sun, 20 Jul 2014 20:37:47 -0700 (PDT) Date: Mon, 21 Jul 2014 10:37:47 +0700 Message-ID: Subject: Webhdfs - namenoderpcaddress is not specified exception From: Pham Phuong Tu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a113465d4a8692104feabd408 X-Virus-Checked: Checked by ClamAV on apache.org --001a113465d4a8692104feabd408 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am a new user of Webhdfs, my Hadoop version is 2.4 (Horton work 2.1), i am getting exception when run below command like this: curl -i -L =E2=80=9Chttp://192.168.1.115:50075/webhdfs/v1/data/test1.txt?op= =3DOPEN=E2=80=9D HTTP/1.1 400 Bad Request Cache-Control: no-cache Expires: Sat, 19 Jul 2014 03:50:58 GMT Date: Sat, 19 Jul 2014 03:50:58 GMT Pragma: no-cache Expires: Sat, 19 Jul 2014 03:50:58 GMT Date: Sat, 19 Jul 2014 03:50:58 GMT Pragma: no-cache Content-Type: application/json Transfer-Encoding: chunked Server: Jetty(6.1.26) {=E2=80=9CRemoteException=E2=80=9D:{=E2=80=9Cexception=E2=80=9D:=E2=80=9DIl= legalArgumentException=E2=80=9D,=E2=80=9DjavaClassName=E2=80=9D:=E2=80=9Dja= va.lang.IllegalArgumentException=E2=80=9D,=E2=80=9Dmessage=E2=80=9D:=E2=80= =9Dnamenoderpcaddress is not specified.=E2=80=9D} Please tell me how to fix this problem? And, what is the default number of namenoderpcaddress, thanks. --=20 *-----------------------------------------* *Pham Phuong TuBack-end & Big data developerSkype: phamphuongtu* --001a113465d4a8692104feabd408 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I am a new user of Webhdfs, my Hadoop version is 2.4 (Horton work 2.1), i a= m getting exception when run below command like this:

curl -i -L =E2=80=9Chttp://192.168.1.115:50075/webhdfs/v1/data/test1.txt?op= =3DOPEN=E2=80=9D
HTTP/1.1 400 Bad Request
Cache-Control: no-cache=
Expires: Sat, 19 Jul 2014 03:50:58 GMT
Date: Sat, 19 Jul 2014 03:50:58 GMT
Pragma: no-cache
Expires: Sat, 19= Jul 2014 03:50:58 GMT
Date: Sat, 19 Jul 2014 03:50:58 GMT
Pragma: no= -cache
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(6.1.26)
{=E2=80=9CRemoteException=E2=80=9D:{=E2=80=9Cexcep= tion=E2=80=9D:=E2=80=9DIllegalArgumentException=E2=80=9D,=E2=80=9DjavaClass= Name=E2=80=9D:=E2=80=9Djava.lang.IllegalArgumentException=E2=80=9D,=E2=80= =9Dmessage=E2=80=9D:=E2=80=9Dnamenoderpcaddress is not specified.=E2=80=9D}=

Please tell me how to fix this problem? And, what is the default number of = namenoderpcaddress, thanks.


--
= -----------------= ------------------------

Pham Phuong Tu
Back-end & Big data developer
Skype: phamphuongtu

--001a113465d4a8692104feabd408--