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 E476B10F32 for ; Sun, 9 Feb 2014 16:56:28 +0000 (UTC) Received: (qmail 74263 invoked by uid 500); 9 Feb 2014 16:56:21 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 74049 invoked by uid 500); 9 Feb 2014 16:56:20 -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 74042 invoked by uid 99); 9 Feb 2014 16:56:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Feb 2014 16:56:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yh0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Feb 2014 16:56:15 +0000 Received: by mail-yh0-f45.google.com with SMTP id i57so4294120yha.32 for ; Sun, 09 Feb 2014 08:55:54 -0800 (PST) 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=F2ODcjSSUFZpV9idBN750CNjA7wiBaai03XCMEquOss=; b=yrzt1ep0TjqfgPSL1WNONsDi7PEBnuVx/miuaxpxri/1vrEGtxdkB72tvdNmxF2p9B kCh5m4gCWcTzTX5EvsWofgAgyM+HC/XFKPFDuLTDhR9bi23v3qNJ2VScWQ1nRo3+ix2b LJTVxPf91WCOrkMrtRURFLsXfqUC7lzQRBBZE4MSqtAD1pCxwLsKkoLaAzoABG9Yz8Kl X2bMOR8XeRQtZ8tD349FkbpHP6haTAj9in25PhTosDGmgj++8uoo7MhcLCF84rxJisNX LAl1kmQrQJyT+Ft2Knl5dHb07q/nOlgVRAkTPqWZ+QEA0spXJIJbp1SFjVvWfuhwlvzC KjOw== MIME-Version: 1.0 X-Received: by 10.236.122.99 with SMTP id s63mr13021941yhh.19.1391964954804; Sun, 09 Feb 2014 08:55:54 -0800 (PST) Received: by 10.170.213.65 with HTTP; Sun, 9 Feb 2014 08:55:54 -0800 (PST) In-Reply-To: <1391964519.20930.YahooMailNeo@web120702.mail.ne1.yahoo.com> References: <1391963542.27714.YahooMailNeo@web120703.mail.ne1.yahoo.com> <1391964519.20930.YahooMailNeo@web120702.mail.ne1.yahoo.com> Date: Sun, 9 Feb 2014 08:55:54 -0800 Message-ID: Subject: Re: Finding Hive and Hadoop version from command line From: Ted Yu To: "common-user@hadoop.apache.org" , Raj Hadoop Content-Type: multipart/alternative; boundary=20cf301af335abc74504f1fc183b X-Virus-Checked: Checked by ClamAV on apache.org --20cf301af335abc74504f1fc183b Content-Type: text/plain; charset=ISO-8859-1 For Hive, you can use: bin/hive --version Cheers On Sun, Feb 9, 2014 at 8:48 AM, Raj Hadoop wrote: > > Thanks Ted. > > Also - I am looking for to find the Hive version > > > On Sunday, February 9, 2014 11:39 AM, Ted Yu > wrote: > For hadoop version, you can use the hadoop command: > > echo "Usage: hadoop [--config confdir] COMMAND" > ... > echo " version print the version" > > > On Sun, Feb 9, 2014 at 8:32 AM, Raj Hadoop wrote: > > All, > > Is there any way from the command prompt I can find which hive version I > am using and Hadoop version too? > > Thanks in advance. > > Regards, > Raj > > > > > --20cf301af335abc74504f1fc183b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For Hive, you can use:

bin/hive --version

Cheers


On Sun, Feb 9, 2014 at 8:48 AM, Raj Hadoop <= ;hadoopraj@yahoo.c= om> wrote:

Thanks Ted.=A0

Also - I am looking for to find the Hive version


On Sunday, February 9, 2014 11:39 AM, Ted Yu <yuzhihong@gmail.com<= /a>> wrote:
For hadoop version, you ca= n use the hadoop command:

=A0 echo "= Usage: hadoop [--config confdir] COMMAND"
...
=A0 echo " =A0version =A0 =A0 =A0 =A0 =A0 =A0 =A0print the versio= n"


On Sun, Fe= b 9, 2014 at 8:32 AM, Raj Hadoop <hadoop= raj@yahoo.com> wrote:
All,

Is there any way from the= command prompt I can find which hive version I am using and Hadoop version too?

Thanks in advance.=

Regards,
Raj

<= br>

--20cf301af335abc74504f1fc183b--