Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B291110B68 for ; Thu, 19 Dec 2013 17:04:04 +0000 (UTC) Received: (qmail 13096 invoked by uid 500); 19 Dec 2013 17:03:54 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 12792 invoked by uid 500); 19 Dec 2013 17:03:48 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 12769 invoked by uid 99); 19 Dec 2013 17:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 17:03:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [94.124.120.47] (HELO server7.bhosted.nl) (94.124.120.47) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Dec 2013 17:03:40 +0000 Received: (qmail 5918 invoked by uid 87); 19 Dec 2013 18:03:16 +0100 Received: from mail-qe0-f44.google.com (postmaster@frankscholten.nl@mail-qe0-f44.google.com) by server7 (envelope-from , uid 0) with qmail-scanner-2.02 (clamdscan: 0.97.8/18258. spamassassin: 3.3.2. Clear:RC:0(209.85.128.44):. Processed in 0.022793 secs); 19 Dec 2013 17:03:16 -0000 Received: from mail-qe0-f44.google.com (postmaster@frankscholten.nl@209.85.128.44) by server7.bhosted.nl with SMTP; 19 Dec 2013 18:03:16 +0100 Received: by mail-qe0-f44.google.com with SMTP id nd7so1264971qeb.31 for ; Thu, 19 Dec 2013 09:03:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:date:message-id:subject:from:to:content-type; bh=O8M6BOpk4lFEQRE+02xcuF+PGCYoC1pWUPaHzUA+Vbw=; b=BMDjvO53ylm5E4Iqnk7c3l3yLkBmQfMqZXgUtYZboJtBNUwnE5BvDaZUrIrzniC53J AT4Ij2sf9K2yGoIz/2rgVj7kIId3HjT+y8WapN5GY1XK/uKbx2qO4SjVwZF4dnzhP5/d Gz1mY8NZfeHZhFbJKyKdNBPUWGa8sos2QP0ckJNY+ODebcmbUQbDClzpRX1/fP7pCPGu jycQN8F/y8yEjz83tTJ/rXgSpjZWslGgT3dCiYrIpDfqtMi5xgOgefJe5IljTR/3d11D okB3E7+Acg+wYfJtbmu9qF5Jn0o8mT0keeo/IlsMBGToEJ6ScOkgOwNt1X1/G+P5C+3b xWTQ== MIME-Version: 1.0 X-Received: by 10.49.84.105 with SMTP id x9mr4781141qey.65.1387472595541; Thu, 19 Dec 2013 09:03:15 -0800 (PST) Received: by 10.96.37.228 with HTTP; Thu, 19 Dec 2013 09:03:15 -0800 (PST) Date: Thu, 19 Dec 2013 18:03:15 +0100 Message-ID: Subject: Building Hadoop 1.2.1 in IntelliJ IDEA From: Frank Scholten To: common-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bdc0ef031997504ede62371 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc0ef031997504ede62371 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I might have found a small bug in the CLI minicluster code on Hadoop 1.2.1 so I wanted to write a patch and test my code inside IntelliJ. I followed the instructions on http://wiki.apache.org/hadoop/HadoopUnderIDEA. I added libraries and source folders but I cannot build the test code of the project. The problem seems to be that the package structure under src/test varies. There are org.apache.hadoop.* packages directly underneath it as well as a few subfolders which themselves have packages. Adding src/test as a source folder causes compilation errors for the packages under subfolders because their package name does not match with the source folder path. How can I configure the project in IntelliJ so I can develop and run unit tests? Cheers, Frank --047d7bdc0ef031997504ede62371--