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 D4B6B10C2A for ; Wed, 11 Feb 2015 23:12:17 +0000 (UTC) Received: (qmail 88201 invoked by uid 500); 11 Feb 2015 23:12:11 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 88090 invoked by uid 500); 11 Feb 2015 23:12:11 -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 88079 invoked by uid 99); 11 Feb 2015 23:12:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 23:12:11 +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 apivovarov@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 23:12:07 +0000 Received: by lams18 with SMTP id s18so6577708lam.11 for ; Wed, 11 Feb 2015 15:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dYRof/bH8+s7gL+Y6xo9f9P6Ult4kZyk79lGgajxPQU=; b=OLYQvdYQsNtqEn3W2DG5aHLebh/IPZq4B029ZaSqQn4BdUEAjvbNtDPGq6JWXF0yjs 527kmNsXJCnudl2bM7bZyDjVluJdt7Bs1xa9TWSXjIzc+mL6/WCiAbci2THW/algjMdP Vpme2fr0GZIxdTM/fttFk8Vj8FA8s0/ab8izVjYGdIioIX/Wv4dYAsh6Z2GpKFALtmQo +W+odJVvCwpFulTjb8WdKjwxd5O5MEM2gr/ABTFqa5JafV4kHjN64wIgCEheqzP3h5nJ e+yDbpTlQ5t3DDU3f/0+aPA+rZAeIhsuaicgi1CYVmGGFht+uZx6emjK45cEna2NaZmc +oTw== X-Received: by 10.112.54.228 with SMTP id m4mr919129lbp.20.1423696216248; Wed, 11 Feb 2015 15:10:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.87.20 with HTTP; Wed, 11 Feb 2015 15:09:56 -0800 (PST) In-Reply-To: <2319236.rJdMuH1bzu@precision> References: <2319236.rJdMuH1bzu@precision> From: Alexander Pivovarov Date: Wed, 11 Feb 2015 15:09:56 -0800 Message-ID: Subject: Re: Building for Windows To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a1133d0a03cd5b8050ed81be3 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133d0a03cd5b8050ed81be3 Content-Type: text/plain; charset=UTF-8 try mvn package -Pdist -Dtar -DskipTests On Wed, Feb 11, 2015 at 2:02 PM, Lucio Crusca wrote: > Hello everybody, > > I'm absolutely new to hadoop and a customer asked me to build version 2.6 > for > Windows Server 2012 R2. I'm myself a java programmer, among other things, > but > I've never used hadoop before. > > I've downloaded and installed JDK7, Maven, Cygwin (for sh, mv, gzip, ...) > and > other toys specified in the BUILDING.txt file bundled with hadoop sources. > I > also set the PATH and other environment variables (JAVA_HOME, ZLIB_HOME, > Platform, ...). > > Running > > mvn package -Pdist -Dtar > > it compiles everything till MiniKDC included, but then it fails a test > after > compiling Auth. > > Here you can see the full output of the mvn command: > > http://hastebin.com/aqixebojuv.tex > > Can you help me understand what I'm doing wrong? > > Thanks in advance > Lucio. > --001a1133d0a03cd5b8050ed81be3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
try

mvn package -Pdist -Dtar -DskipTests
<= div class=3D"gmail_extra">
On Wed, Feb 11, 20= 15 at 2:02 PM, Lucio Crusca <lucio@sulweb.org> wrote:
Hello everybody,

I'm absolutely new to hadoop and a customer asked me to build version 2= .6 for
Windows Server 2012 R2. I'm myself a java programmer, among other thing= s, but
I've never used hadoop before.

I've downloaded and installed JDK7, Maven, Cygwin (for sh, mv, gzip, ..= .) and
other toys specified in the BUILDING.txt file bundled with hadoop sources. = I
also set the PATH and other environment variables (JAVA_HOME, ZLIB_HOME, Platform, ...).

Running

mvn package -Pdist -Dtar

it compiles everything till MiniKDC included, but then it fails a test afte= r
compiling Auth.

Here you can see the full output of the mvn command:

http://has= tebin.com/aqixebojuv.tex

Can you help me understand what I'm doing wrong?

Thanks in advance
Lucio.

--001a1133d0a03cd5b8050ed81be3--