Author: eli
Date: Mon Jun 11 20:53:08 2012
New Revision: 1349005

URL: http://svn.apache.org/viewvc?rev=1349005&view=rev
Log:
HDFS-3517. TestStartup should bind ephemeral ports. Contributed by Eli Collins

Modified:
    hadoop/common/branches/branch-2/hadoop-hdfs-project/   (props changed)
    hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/   (props 
changed)
    hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/  
 (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/
   (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/datanode/
   (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/
   (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/secondary/
   (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/hdfs/  
 (props changed)
    
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStartup.java

Propchange: hadoop/common/branches/branch-2/hadoop-hdfs-project/
------------------------------------------------------------------------------
  Merged /hadoop/common/trunk/hadoop-hdfs-project:r1349004

Propchange: hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/
------------------------------------------------------------------------------
  Merged /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs:r1349004

Modified: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1349005&r1=1349004&r2=1349005&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
(original)
+++ hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
Mon Jun 11 20:53:08 2012
@@ -186,6 +186,8 @@ Release 2.0.1-alpha - UNRELEASED
     HDFS-2797. Fix misuses of InputStream#skip in the edit log code.
     (Colin Patrick McCabe via eli)
 
+    HDFS-3517. TestStartup should bind ephemeral ports. (eli)
+
   BREAKDOWN OF HDFS-3042 SUBTASKS
 
     HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java:r1349004

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/native/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native:r1349004

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/datanode/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/datanode:r1349004

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs:r1349004

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/secondary/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/secondary:r1349004

Propchange: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/hdfs/
------------------------------------------------------------------------------
  Merged 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/hdfs:r1349004

Modified: 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStartup.java
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStartup.java?rev=1349005&r1=1349004&r2=1349005&view=diff
==============================================================================
--- 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStartup.java
 (original)
+++ 
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestStartup.java
 Mon Jun 11 20:53:08 2012
@@ -100,6 +100,9 @@ public class TestStartup extends TestCas
         fileAsURI(new File(hdfsDir, "name")).toString());
     config.set(DFSConfigKeys.DFS_DATANODE_DATA_DIR_KEY,
         new File(hdfsDir, "data").getPath());
+    config.set(DFSConfigKeys.DFS_DATANODE_ADDRESS_KEY, "0.0.0.0:0");
+    config.set(DFSConfigKeys.DFS_DATANODE_HTTP_ADDRESS_KEY, "0.0.0.0:0");
+    config.set(DFSConfigKeys.DFS_DATANODE_IPC_ADDRESS_KEY, "0.0.0.0:0");
     config.set(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_DIR_KEY,
         fileAsURI(new File(hdfsDir, "secondary")).toString());
     config.set(DFSConfigKeys.DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_KEY,



From [email protected] Mon Jun 11 
13:53:32 2012
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Mon, 11 Jun 2012 13:53:32 -0700
Received: from exprod5mx191.postini.com ([64.18.0.37] helo=psmtp.com)
        by mail-archive.com with smtp (Exim 4.69)
        (envelope-from 
<[email protected]>)
        id 1SeBcB-0001rx-Tp
        for [email protected]; Mon, 11 Jun 2012 13:53:32 -0700
Received: from mail.apache.org ([140.211.11.3]) by exprod5mx191.postini.com 
([64.18.4.10]) with SMTP;
        Mon, 11 Jun 2012 20:53:31 GMT
Received: (qmail 45735 invoked by uid 500); 11 Jun 2012 20:53:30 -0000
Mailing-List: contact [email protected]; run by ezmlm
Precedence: bulk
Reply-To: [email protected]
list-help: <mailto:[email protected]>
list-unsubscribe: <mailto:[email protected]>
List-Post: <mailto:[email protected]>
List-Id: <dev.httpd.apache.org>
Delivered-To: mailing list [email protected]
Received: (qmail 45704 invoked by uid 99); 11 Jun 2012 20:53:30 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 20:53:30 +0000
X-ASF-Spam-Status: No, hits=0.7 required=5.0
        tests=FSL_HELO_NON_FQDN_1,SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (athena.apache.org: local policy)
Received: from [80.229.52.226] (HELO baldur) (80.229.52.226)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 20:53:25 +0000
Received: from baldur (localhost [127.0.0.1])
        by baldur (Postfix) with ESMTP id 4CA26C2EF7E1
        for <[email protected]>; Mon, 11 Jun 2012 21:53:01 +0100 (BST)
Date: Mon, 11 Jun 2012 21:52:59 +0100
From: Nick Kew <[email protected]>
To: [email protected]
Subject: Re: oauth 2 for authorization ?
Message-ID: <20120611215259.173dada1@baldur>
In-Reply-To: <[email protected]>
References: <caeiuhhjdsn_kh1s9wdzeq9p-nvpqqpc7ug8a_7qwiq35ofo...@mail.gmail.com>
        <[email protected]>
X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-pstn-neptune: 0/0/0.00/0
X-pstn-levels:     (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 
R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
X-pstn-dkim: 0 skipped:not-enabled
X-pstn-settings: 4 (1.5000:1.5000) s cv gt3 gt2 gt1 r p m c 
X-pstn-addresses: from <[email protected]> [294/10] 

On Mon, 11 Jun 2012 21:04:05 +0200
Graham Leggett <[email protected]> wrote:

> On 11 Jun 2012, at 8:56 PM, David Robinson wrote:
> 
> > I am wondering if there are any plans to add  OAuth 2 capabilities into the 
> > base authorization capabilities of the http server ?
> 
> When I wrote mod_auth_form, I made introductory plans to support OpenID, but 
> wasn't able to continue with it due to time constraints. It would be ideal if 
> httpd could do both openid and oauth out the box.

There's a third-perty authn_openid module, that looks like a
simple wrapper round a library.  Should serve basic needs.

I looked around for oauth a while back, but I can't remember
what I found.  I think there was a solution in some scripting
language but not a module.

-- 
Nick Kew

Reply via email to