Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41990102C5 for ; Sat, 24 Oct 2015 17:31:52 +0000 (UTC) Received: (qmail 60895 invoked by uid 500); 24 Oct 2015 17:31:47 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 60772 invoked by uid 500); 24 Oct 2015 17:31:47 -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 60762 invoked by uid 99); 24 Oct 2015 17:31:46 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2015 17:31:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 74305C0E0E for ; Sat, 24 Oct 2015 17:31:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id JLozm6IcPVdC for ; Sat, 24 Oct 2015 17:31:39 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 9023E439E2 for ; Sat, 24 Oct 2015 17:31:38 +0000 (UTC) Received: by wikq8 with SMTP id q8so114161514wik.1 for ; Sat, 24 Oct 2015 10:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OXJpkPT9z29q0VIJb6hWpk5TxBlxsowv0xtZR6OBF3g=; b=KWyF7ynRPt6n5h+9oDpGP3eOaFeFY2X9wSO30Yx8mrUt7ETi8xn90bQI3ssz12F6dT 7RIuVtYgwnRrV46qn0mFuPW1RgeuSLcR5kekBpf6KRw4cE1wFavHSPD5xD4cfwr8ezcb +DiaaV2/4MY30uKATu3u+QTQWklWZSZDEuxNFMBXD9B2DHW7ejN/4v3AdoIJHCTFW6Yp MY1vdZwSQw0ycr76n7fuVS6+R1vlw8PgECq/WTn7VU+OL9SGC6xJ41RJw0PWNyL8mWGO 6BobuMuA0kaX/zh/CXoyE/8B1h1/l8Kq/QAGoQw+TQyMe4tL2wW0opy8BJRzJJ3Vmcf4 yESg== MIME-Version: 1.0 X-Received: by 10.180.74.80 with SMTP id r16mr11826625wiv.88.1445707897772; Sat, 24 Oct 2015 10:31:37 -0700 (PDT) Received: by 10.194.137.194 with HTTP; Sat, 24 Oct 2015 10:31:37 -0700 (PDT) Received: by 10.194.137.194 with HTTP; Sat, 24 Oct 2015 10:31:37 -0700 (PDT) In-Reply-To: References: Date: Sat, 24 Oct 2015 19:31:37 +0200 Message-ID: Subject: Re: Start/stop scripts - particularly start-dfs.sh - in Hortonworks Data Platform 2.3.X From: Dejan Menges To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d043c81d0b21f4d0522dd19a9 --f46d043c81d0b21f4d0522dd19a9 Content-Type: text/plain; charset=UTF-8 Hi Stephen, In /usr/hdp/version there's etc/ subfolder with init scripts, beside others one for datanode too (hadoop-hdfs-datanode is the name). Cheers On Oct 24, 2015 7:00 PM, "Stephen Boesch" wrote: > OK I will continue on hdp list: I am already using the hdfs command for > all of those individual commands but they are *not* a replacement for the > single start-dfs.sh > > > > 2015-10-24 9:48 GMT-07:00 Ted Yu : > >> See /usr/hdp/current/hadoop-hdfs-client/bin/hdfs which calls hdfs.distro >> >> At the top of hdfs.distro, you would see the usage: >> >> function print_usage(){ >> echo "Usage: hdfs [--config confdir] COMMAND" >> echo " where COMMAND is one of:" >> echo " dfs run a filesystem command on the file >> systems supported in Hadoop." >> echo " namenode -format format the DFS filesystem" >> echo " secondarynamenode run the DFS secondary namenode" >> echo " namenode run the DFS namenode" >> echo " journalnode run the DFS journalnode" >> >> BTW since this question is vendor specific, I suggest continuing on >> vendor's forum. >> >> Cheers >> >> On Fri, Oct 23, 2015 at 7:06 AM, Stephen Boesch >> wrote: >> >>> >>> We are setting up automated deployments on a headless system: so using >>> the GUI is not an option here. When we search for those scripts under >>> HDP they are not found: >>> >>> $ pwd >>> /usr/hdp/current >>> >>> Which scripts exist in HDP ? >>> >>> [stack@s1-639016 current]$ find -L . -name \*.sh >>> ... >>> >>> There are ZERO start/stop sh scripts.. >>> >>> In particular I am interested in the *start-dfs.sh* script that starts >>> the namenode(s) , journalnode, and datanodes. >>> >>> >> > --f46d043c81d0b21f4d0522dd19a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Stephen,

In /usr/hdp/version there's etc/ subfolder with init scr= ipts, beside others one for datanode too (hadoop-hdfs-datanode is the name)= .

Cheers

On Oct 24, 2015 7:00 PM, "Stephen Boesch&qu= ot; <javadba@gmail.com> wrot= e:
= OK I will continue on hdp list: I am already using the hdfs command for all= of those individual commands but they are *not* =C2=A0a replacement for th= e single start-dfs.sh



2015-10-24 9:48 GMT-07:00 Ted Yu <yuzhihong@gmail.com>:
See=C2=A0/usr/hdp/current/hadoop-hdfs-client/bin/hdfs which c= alls=C2=A0hdfs.distro

At the top of=C2=A0hdfs.distro, yo= u would see the usage:

function print_usage()= {
=C2=A0 echo "Usage: hdfs [--config confdir] COMMAND"<= /div>
=C2=A0 echo " =C2=A0 =C2=A0 =C2=A0 where COMMAND is one of:&= quot;
=C2=A0 echo " =C2=A0dfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0run a filesystem command on the file syst= ems supported in Hadoop."
=C2=A0 echo " =C2=A0namenode = -format =C2=A0 =C2=A0 format the DFS filesystem"
=C2=A0 echo= " =C2=A0secondarynamenode =C2=A0 =C2=A0run the DFS secondary namenode= "
=C2=A0 echo " =C2=A0namenode =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 run the DFS namenode"
=C2=A0 echo " = =C2=A0journalnode =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0run the DFS journalnode= "

BTW since this question is vendor spe= cific, I suggest continuing on vendor's forum.

Cheers

On Fri, Oct 23, 2015 at 7:06 AM, Stephen Boesch <javadba@gmail= .com> wrote:

We are setting up automate= d deployments on a headless system: so using the GUI is not an option here.= =C2=A0When we search for those scripts und= er HDP they are not found:

$ pwd
/usr/hdp/current

Which scripts exist in HDP ? =C2=A0

[stack@s1-639016 curr=
ent]$ find -L . -name \*.sh
...
There are ZERO start/stop sh scripts..

In particular I am int= erested in the=C2=A0sta= rt-dfs.sh=C2=A0script that starts the namenode(s) , journalnode, a= nd datanodes.




--f46d043c81d0b21f4d0522dd19a9--