[jira] [Commented] (HADOOP-10433) Key Management Server based on KeyProvider API

2014-03-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950446#comment-13950446
 ] 

Hadoop QA commented on HADOOP-10433:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12637338/KMS-ALL-PATCHES.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 7 new 
or modified test files.

  {color:red}-1 javac{color}.  The applied patch generated 1504 javac 
compiler warnings (more than the trunk's current 1491 warnings).

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:red}-1 findbugs{color}.  The patch appears to introduce 9 new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-assemblies hadoop-common-project/hadoop-common 
hadoop-common-project/hadoop-kms hadoop-dist:

  org.apache.hadoop.crypto.key.kms.server.TestKMSACLs
  org.apache.hadoop.crypto.key.kms.server.TestKMSServer

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3726//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3726//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-kms.html
Javac warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3726//artifact/trunk/patchprocess/diffJavacWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3726//console

This message is automatically generated.

 Key Management Server based on KeyProvider API
 --

 Key: HADOOP-10433
 URL: https://issues.apache.org/jira/browse/HADOOP-10433
 Project: Hadoop Common
  Issue Type: Improvement
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10433.patch, KMS-ALL-PATCHES.patch, KMS-doc.pdf


 (from HDFS-6134 proposal)
 Hadoop KMS is the gateway, for Hadoop and Hadoop clients, to the underlying 
 KMS. It provides an interface that works with existing Hadoop security 
 components (authenticatication, confidentiality).
 Hadoop KMS will be implemented leveraging the work being done in HADOOP-10141 
 and HADOOP-10177.
 Hadoop KMS will provide an additional implementation of the Hadoop 
 KeyProvider class. This implementation will be a client-server implementation.
 The client-server protocol will be secure:
 * Kerberos HTTP SPNEGO (authentication)
 * HTTPS for transport (confidentiality and integrity)
 * Hadoop ACLs (authorization)
 The Hadoop KMS implementation will not provide additional ACL to access 
 encrypted files. For sophisticated access control requirements, HDFS ACLs 
 (HDFS-4685) should be used.
 Basic key administration will be supported by the Hadoop KMS via the, already 
 available, Hadoop KeyShell command line tool
 There are minor changes that must be done in Hadoop KeyProvider functionality:
 The KeyProvider contract, and the existing implementations, must be 
 thread-safe
 KeyProvider API should have an API to generate the key material internally
 JavaKeyStoreProvider should use, if present, a password provided via 
 configuration
 KeyProvider Option and Metadata should include a label (for easier 
 cross-referencing)
 To avoid overloading the underlying KeyProvider implementation, the Hadoop 
 KMS will cache keys using a TTL policy.
 Scalability and High Availability of the Hadoop KMS can achieved by running 
 multiple instances behind a VIP/Load-Balancer. For High Availability, the 
 underlying KeyProvider implementation used by the Hadoop KMS must be High 
 Available.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10449) Fix the javac warnings in the security packages.

2014-03-28 Thread Haohui Mai (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950464#comment-13950464
 ] 

Haohui Mai commented on HADOOP-10449:
-

+1

 Fix the javac warnings in the security packages.
 

 Key: HADOOP-10449
 URL: https://issues.apache.org/jira/browse/HADOOP-10449
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
Priority: Minor
 Attachments: c10449_20140327.patch


 The are a few minor javac warnings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9923) yarn staging area on hdfs has wrong permission and is created by the wrong user

2014-03-28 Thread Sanghyun Yun (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950469#comment-13950469
 ] 

Sanghyun Yun commented on HADOOP-9923:
--

try set users(hdfs, yarn, mapred) to the members of the same group(ex. hadoop) 
and change the group of staging dir.

I think this is right usage.

 yarn staging area on hdfs has wrong permission and is created by the wrong 
 user
 ---

 Key: HADOOP-9923
 URL: https://issues.apache.org/jira/browse/HADOOP-9923
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.1.0-beta
Reporter: André Kelpe

 I am setting up a cluster with hadoop 2.1-beta that consists of the following 
 components:
 master: runs the namenode, the resourcemanager and the job history server.
 hadoop1, hadoop2, hadoop3: run datanodes and node managers
 I created 3 system users for the different components, like explained in the 
 docs:
 hdfs: runs all things hdfs
 yarn: runs all things yarn
 mapred: runs the job history server
 If I now boot up the cluster, I cannot submit jobs since the yarn staging 
 area permissions do not allow it.
 What I found out is, that the job-history-server is creating the staging 
 directory while starting. This first of all causes it to be owned by the 
 wrong user (mapred) and having the wrong permision (770). The docs are not 
 really clear if I am supposed to start hdfs first, then create the staging 
 area by hand and then start the job-history-server or if this is supposed to 
 happen automatically by itself.
 In any case, either the docs should be updated or the job-history-server 
 should not create the directory.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9907) Webapp http://hostname:port/metrics link is not working

2014-03-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950479#comment-13950479
 ] 

Hadoop QA commented on HADOOP-9907:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12637332/HADOOP-9907.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

  org.apache.hadoop.mapreduce.v2.app.TestFetchFailure
  org.apache.hadoop.mapreduce.v2.app.TestMRAppMaster
  org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3725//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3725//console

This message is automatically generated.

 Webapp http://hostname:port/metrics  link is not working 
 -

 Key: HADOOP-9907
 URL: https://issues.apache.org/jira/browse/HADOOP-9907
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Jian He
Assignee: Akira AJISAKA
Priority: Blocker
 Attachments: HADOOP-9907.patch


 This link is not working which just shows a blank page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9907) Webapp http://hostname:port/metrics link is not working

2014-03-28 Thread Akira AJISAKA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950501#comment-13950501
 ] 

Akira AJISAKA commented on HADOOP-9907:
---

This patch is just to move the link target, so new tests are not needed. In 
addition, the failures are not related to the patch.

 Webapp http://hostname:port/metrics  link is not working 
 -

 Key: HADOOP-9907
 URL: https://issues.apache.org/jira/browse/HADOOP-9907
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Jian He
Assignee: Akira AJISAKA
Priority: Blocker
 Attachments: HADOOP-9907.patch


 This link is not working which just shows a blank page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10446) native code for reading Hadoop configuration XML files

2014-03-28 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950537#comment-13950537
 ] 

Steve Loughran commented on HADOOP-10446:
-

If there's something you MUST address it is references in the objects 
{{${something}}} -used a lot and not something you can ignore

# I don't think its strictly defined yet
# from the code it is: attempt local, then the base resources
# and finally java system properties
# I don't know about transitive reference and if, when and how recursion  
loops are detected. 

Equally interesting is when does this take place?, the answer being when 
someone calls getXXX(). You have to leave the values unresolved when you 
serialize a config  send it over the wire to the far end; only your bit of the 
config is forwarded, the far end resolves values using its base resources and 
system properties.

 native code for reading Hadoop configuration XML files
 --

 Key: HADOOP-10446
 URL: https://issues.apache.org/jira/browse/HADOOP-10446
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: Colin Patrick McCabe

 We need to have a way to read Hadoop configuration XML files in the native 
 HDFS and YARN clients.  This will allow those clients to discover the 
 locations of NameNodes, YARN daemons, and other configuration settings, etc. 
 etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10442) Group look-up can cause segmentation fault when certain JNI-based mapping module is used.

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950607#comment-13950607
 ] 

Hudson commented on HADOOP-10442:
-

FAILURE: Integrated in Hadoop-Yarn-trunk #523 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/523/])
HADOOP-10442. Group look-up can cause segmentation fault when certain JNI-based 
mapping module is used. (Kihwal Lee via jeagles) (jeagles: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582451)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/security/hadoop_user_info.c


 Group look-up can cause segmentation fault when certain JNI-based mapping 
 module is used.
 -

 Key: HADOOP-10442
 URL: https://issues.apache.org/jira/browse/HADOOP-10442
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0, 2.4.0
Reporter: Kihwal Lee
Assignee: Kihwal Lee
Priority: Blocker
 Fix For: 3.0.0, 2.4.0, 2.5.0

 Attachments: HADOOP-10442.patch


 When JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is used, 
 we get segmentation fault very often. The same system ran 2.2 for months 
 without any problem, but as soon as upgrading to 2.3, it started crashing.  
 This resulted in multiple name node crashes per day.
 The server was running nslcd (nss-pam-ldapd-0.7.5-15.el6_3.2). We did not see 
 this problem on the servers running sssd. 
 There was one change in the C code and it modified the return code handling 
 after getgrouplist() call. If the function returns 0 or a negative value less 
 than -1, it will do realloc() instead of returning failure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10242) No space in an error output message

2014-03-28 Thread Avinash Kujur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950618#comment-13950618
 ] 

Avinash Kujur commented on HADOOP-10242:


i tried to execute:  hadoop job -history ~/1

but its giving different error. i cant see any error related to space. its 
giving some more different errors as well.

[cloudera@localhost hadoop-common]$ hadoop job -history ~/1
DEPRECATED: Use of this script to execute mapred command is deprecated.
Instead use the mapred command for it.

14/03/28 05:08:43 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
14/03/28 05:08:44 INFO Configuration.deprecation: session.id is deprecated. 
Instead, use dfs.metrics.session-id
14/03/28 05:08:44 INFO jvm.JvmMetrics: Initializing JVM Metrics with 
processName=JobTracker, sessionId=
Ignore unrecognized file: 1
Exception in thread main java.io.IOException: Unable to initialize History 
Viewer
at 
org.apache.hadoop.mapreduce.jobhistory.HistoryViewer.init(HistoryViewer.java:90)
at org.apache.hadoop.mapreduce.tools.CLI.viewHistory(CLI.java:470)
at org.apache.hadoop.mapreduce.tools.CLI.run(CLI.java:313)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1239)
Caused by: java.io.IOException: Unable to initialize History Viewer
at 
org.apache.hadoop.mapreduce.jobhistory.HistoryViewer.init(HistoryViewer.java:84)
... 5 more

can you please clear me out?

Regards,
Avinash

 No space in an error output message
 ---

 Key: HADOOP-10242
 URL: https://issues.apache.org/jira/browse/HADOOP-10242
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 1.3.0
Reporter: Anton Balashov
Priority: Trivial

 [nzhdusr@nhga0007 ~]$ hadoop job -history ~/1
 Exception in thread main java.io.IOException: Not able to initialize 
 History viewer
   at org.apache.hadoop.mapred.HistoryViewer.init(HistoryViewer.java:95)
   at org.apache.hadoop.mapred.JobClient.viewHistory(JobClient.java:1917)
   at org.apache.hadoop.mapred.JobClient.run(JobClient.java:1866)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
   at org.apache.hadoop.mapred.JobClient.main(JobClient.java:2123)
 Caused by: java.io.IOException: History directory 
 /home/nzhdusr/1/_logs/historydoes not exist



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10442) Group look-up can cause segmentation fault when certain JNI-based mapping module is used.

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950702#comment-13950702
 ] 

Hudson commented on HADOOP-10442:
-

FAILURE: Integrated in Hadoop-Hdfs-trunk #1715 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1715/])
HADOOP-10442. Group look-up can cause segmentation fault when certain JNI-based 
mapping module is used. (Kihwal Lee via jeagles) (jeagles: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582451)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/security/hadoop_user_info.c


 Group look-up can cause segmentation fault when certain JNI-based mapping 
 module is used.
 -

 Key: HADOOP-10442
 URL: https://issues.apache.org/jira/browse/HADOOP-10442
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0, 2.4.0
Reporter: Kihwal Lee
Assignee: Kihwal Lee
Priority: Blocker
 Fix For: 3.0.0, 2.4.0, 2.5.0

 Attachments: HADOOP-10442.patch


 When JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is used, 
 we get segmentation fault very often. The same system ran 2.2 for months 
 without any problem, but as soon as upgrading to 2.3, it started crashing.  
 This resulted in multiple name node crashes per day.
 The server was running nslcd (nss-pam-ldapd-0.7.5-15.el6_3.2). We did not see 
 this problem on the servers running sssd. 
 There was one change in the C code and it modified the return code handling 
 after getgrouplist() call. If the function returns 0 or a negative value less 
 than -1, it will do realloc() instead of returning failure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10237) JavaKeyStoreProvider needs to set keystore permissions properly

2014-03-28 Thread Owen O'Malley (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950932#comment-13950932
 ] 

Owen O'Malley commented on HADOOP-10237:


+1

 JavaKeyStoreProvider needs to set keystore permissions properly
 ---

 Key: HADOOP-10237
 URL: https://issues.apache.org/jira/browse/HADOOP-10237
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Reporter: Larry McCay
Assignee: Larry McCay
 Attachments: HADOOP-10237-2.patch, HADOOP-10237-3.patch, 
 HADOOP-10237.patch


 In order protect access to the created keystores permissions should initially 
 be set to 700 by the JavaKeyStoreProvider. Subsequent permission changes can 
 then be done using FS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10442) Group look-up can cause segmentation fault when certain JNI-based mapping module is used.

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950708#comment-13950708
 ] 

Hudson commented on HADOOP-10442:
-

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1740 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1740/])
HADOOP-10442. Group look-up can cause segmentation fault when certain JNI-based 
mapping module is used. (Kihwal Lee via jeagles) (jeagles: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582451)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/security/hadoop_user_info.c


 Group look-up can cause segmentation fault when certain JNI-based mapping 
 module is used.
 -

 Key: HADOOP-10442
 URL: https://issues.apache.org/jira/browse/HADOOP-10442
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0, 2.4.0
Reporter: Kihwal Lee
Assignee: Kihwal Lee
Priority: Blocker
 Fix For: 3.0.0, 2.4.0, 2.5.0

 Attachments: HADOOP-10442.patch


 When JniBasedUnixGroupsNetgroupMapping or JniBasedUnixGroupsMapping is used, 
 we get segmentation fault very often. The same system ran 2.2 for months 
 without any problem, but as soon as upgrading to 2.3, it started crashing.  
 This resulted in multiple name node crashes per day.
 The server was running nslcd (nss-pam-ldapd-0.7.5-15.el6_3.2). We did not see 
 this problem on the servers running sssd. 
 There was one change in the C code and it modified the return code handling 
 after getgrouplist() call. If the function returns 0 or a negative value less 
 than -1, it will do realloc() instead of returning failure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10446) native code for reading Hadoop configuration XML files

2014-03-28 Thread Colin Patrick McCabe (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951047#comment-13951047
 ] 

Colin Patrick McCabe commented on HADOOP-10446:
---

Object references are a good consideration.  I remember using that a lot in HA 
namenode configurations for HDFS.

I don't think serializing a config and sending it over the wire is something we 
really need to support in the native client.  The HDFS client doesn't do that, 
so we can implement that feature if and when we need it.  Similarly, Java 
system properties are something I know we don't have to support in C :)

 native code for reading Hadoop configuration XML files
 --

 Key: HADOOP-10446
 URL: https://issues.apache.org/jira/browse/HADOOP-10446
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: Colin Patrick McCabe

 We need to have a way to read Hadoop configuration XML files in the native 
 HDFS and YARN clients.  This will allow those clients to discover the 
 locations of NameNodes, YARN daemons, and other configuration settings, etc. 
 etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10104) update jackson

2014-03-28 Thread Steve Loughran (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-10104:


Affects Version/s: 2.4.0
   2.3.0
   Status: Patch Available  (was: Open)

lets try again.

 update jackson
 --

 Key: HADOOP-10104
 URL: https://issues.apache.org/jira/browse/HADOOP-10104
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: build
Affects Versions: 2.3.0, 2.2.0, 2.4.0
Reporter: Steve Loughran
Assignee: Akira AJISAKA
Priority: Minor
 Attachments: HADOOP-10104.2.patch, HADOOP-10104.patch


 Jackson is now at 1.9.13, 
 [apparently|http://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl],
  hadoop 2.2 at 1.8.8.
 jackson isn't used that much in the code so risk from an update *should* be 
 low



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10104) update jackson

2014-03-28 Thread Steve Loughran (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-10104:


Target Version/s:   (was: )
  Status: Open  (was: Patch Available)

 update jackson
 --

 Key: HADOOP-10104
 URL: https://issues.apache.org/jira/browse/HADOOP-10104
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: build
Affects Versions: 2.2.0
Reporter: Steve Loughran
Assignee: Akira AJISAKA
Priority: Minor
 Attachments: HADOOP-10104.2.patch, HADOOP-10104.patch


 Jackson is now at 1.9.13, 
 [apparently|http://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl],
  hadoop 2.2 at 1.8.8.
 jackson isn't used that much in the code so risk from an update *should* be 
 low



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10237) JavaKeyStoreProvider needs to set keystore permissions properly

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13950965#comment-13950965
 ] 

Hudson commented on HADOOP-10237:
-

SUCCESS: Integrated in Hadoop-trunk-Commit #5420 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5420/])
HADOOP-10237. JavaKeyStoreProvider needs to set keystore permissions 
correctly. (Larry McCay via omalley) (omalley: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582784)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/JavaKeyStoreProvider.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestKeyProviderFactory.java


 JavaKeyStoreProvider needs to set keystore permissions properly
 ---

 Key: HADOOP-10237
 URL: https://issues.apache.org/jira/browse/HADOOP-10237
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Reporter: Larry McCay
Assignee: Larry McCay
 Fix For: 3.0.0

 Attachments: HADOOP-10237-2.patch, HADOOP-10237-3.patch, 
 HADOOP-10237.patch


 In order protect access to the created keystores permissions should initially 
 be set to 700 by the JavaKeyStoreProvider. Subsequent permission changes can 
 then be done using FS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10449) Fix the javac warnings in the security packages.

2014-03-28 Thread Tsz Wo Nicholas Sze (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo Nicholas Sze updated HADOOP-10449:
-

   Resolution: Fixed
Fix Version/s: 2.4.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Thanks Haohui for reviewing the patch.

I have committed this.

 Fix the javac warnings in the security packages.
 

 Key: HADOOP-10449
 URL: https://issues.apache.org/jira/browse/HADOOP-10449
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
Priority: Minor
 Fix For: 2.4.0

 Attachments: c10449_20140327.patch


 The are a few minor javac warnings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10450:
---

Attachment: HADOOP-10450.1.patch

This patch updates the Windows build to include the zlib native code bindings 
if the {{ZLIB_HOME}} environment variable is defined, pointing at the location 
of the zlib headers.  I also made a small change in ZlibCompressor.c to provide 
more meaningful output from hadoop.cmd checknative on Windows.  We'll display 
the full path to the zlib1.dll.

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10450:
---

Status: Patch Available  (was: Open)

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 2.3.0, 3.0.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10237) JavaKeyStoreProvider needs to set keystore permissions properly

2014-03-28 Thread Owen O'Malley (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Owen O'Malley updated HADOOP-10237:
---

   Resolution: Fixed
Fix Version/s: 3.0.0
   Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Larry!

 JavaKeyStoreProvider needs to set keystore permissions properly
 ---

 Key: HADOOP-10237
 URL: https://issues.apache.org/jira/browse/HADOOP-10237
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Reporter: Larry McCay
Assignee: Larry McCay
 Fix For: 3.0.0

 Attachments: HADOOP-10237-2.patch, HADOOP-10237-3.patch, 
 HADOOP-10237.patch


 In order protect access to the created keystores permissions should initially 
 be set to 700 by the JavaKeyStoreProvider. Subsequent permission changes can 
 then be done using FS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10449) Fix the javac warnings in the security packages.

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951192#comment-13951192
 ] 

Hudson commented on HADOOP-10449:
-

SUCCESS: Integrated in Hadoop-trunk-Commit #5422 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5422/])
HADOOP-10449. Fix the javac warnings in the security package. (szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582851)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/NetgroupCache.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslRpcServer.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/SSLHostnameVerifier.java


 Fix the javac warnings in the security packages.
 

 Key: HADOOP-10449
 URL: https://issues.apache.org/jira/browse/HADOOP-10449
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
Priority: Minor
 Fix For: 2.4.0

 Attachments: c10449_20140327.patch


 The are a few minor javac warnings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)
Chris Nauroth created HADOOP-10450:
--

 Summary: Build zlib native code bindings in hadoop.dll for Windows.
 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 2.3.0, 3.0.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth


Currently, the zlib native code bindings are not built in to hadoop.dll for 
Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10446) native code for reading Hadoop configuration XML files

2014-03-28 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951244#comment-13951244
 ] 

Steve Loughran commented on HADOOP-10446:
-

it gets used in job submissions -or at least did in MRv1

 native code for reading Hadoop configuration XML files
 --

 Key: HADOOP-10446
 URL: https://issues.apache.org/jira/browse/HADOOP-10446
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: Colin Patrick McCabe

 We need to have a way to read Hadoop configuration XML files in the native 
 HDFS and YARN clients.  This will allow those clients to discover the 
 locations of NameNodes, YARN daemons, and other configuration settings, etc. 
 etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Haohui Mai (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951251#comment-13951251
 ] 

Haohui Mai commented on HADOOP-10450:
-

Looks good to me. +1. [~cnauroth], can you please verify the patch work on 
windows?

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951258#comment-13951258
 ] 

Hadoop QA commented on HADOOP-10450:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12637468/HADOOP-10450.1.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3727//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/3727//console

This message is automatically generated.

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10450:
---

Hadoop Flags: Reviewed

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9907) Webapp http://hostname:port/metrics link is not working

2014-03-28 Thread Jian He (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951272#comment-13951272
 ] 

Jian He commented on HADOOP-9907:
-

Hi [~ajisakaa], thanks for the patch.
Seems like an existing bug, if I click the server metrics link on MR web app 
page, it will be redirected to the RM's server metrics  instead of its own. 
Similarly the link for /stacks.

 Webapp http://hostname:port/metrics  link is not working 
 -

 Key: HADOOP-9907
 URL: https://issues.apache.org/jira/browse/HADOOP-9907
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Jian He
Assignee: Akira AJISAKA
Priority: Blocker
 Attachments: HADOOP-9907.patch


 This link is not working which just shows a blank page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951273#comment-13951273
 ] 

Chris Nauroth commented on HADOOP-10450:


Thanks, [~wheat9].  We've confirmed that this patch works on Windows by running 
hadoop.cmd checknative and also running several MapReduce jobs that use zlib 
for compression.

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10301) AuthenticationFilter should return Forbidden for failed authentication

2014-03-28 Thread Daryn Sharp (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951286#comment-13951286
 ] 

Daryn Sharp commented on HADOOP-10301:
--

This jira and HDFS-4564 are sufficient to fix webhdfs.  HADOOP-9363 should 
remain open to fix the authenticated url issues. The hdfs jira doesn't pass 
true to the url factory so it bypasses the use of authenticated url which 
avoids another raft of problems.  The use of the auth cookie is completely 
unnecessary with webhdfs because it obtains a token and then uses it for all 
subsequent operations.

 AuthenticationFilter should return Forbidden for failed authentication
 --

 Key: HADOOP-10301
 URL: https://issues.apache.org/jira/browse/HADOOP-10301
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
Reporter: Daryn Sharp
Assignee: Daryn Sharp
Priority: Blocker
 Attachments: HADOOP-10301.branch-23.patch, 
 HADOOP-10301.branch-23.patch, HADOOP-10301.patch, HADOOP-10301.patch, 
 HADOOP-10301.patch


 The hadoop-auth AuthenticationFilter returns a 401 Unauthorized without a 
 WWW-Authenticate headers.  The is illegal per the HTTP RPC and causes a NPE 
 in the HttpUrlConnection.
 This is half of a fix that affects webhdfs.  See HDFS-4564.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9907) Webapp http://hostname:port/metrics link is not working

2014-03-28 Thread Jian He (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951293#comment-13951293
 ] 

Jian He commented on HADOOP-9907:
-

We can fix that separately in MR, patch looks good to me

 Webapp http://hostname:port/metrics  link is not working 
 -

 Key: HADOOP-9907
 URL: https://issues.apache.org/jira/browse/HADOOP-9907
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Jian He
Assignee: Akira AJISAKA
Priority: Blocker
 Attachments: HADOOP-9907.patch


 This link is not working which just shows a blank page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10450:
---

   Resolution: Fixed
Fix Version/s: 2.4.0
   3.0.0
   Status: Resolved  (was: Patch Available)

I committed this to trunk, branch-2 and branch-2.4.

 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Fix For: 3.0.0, 2.4.0

 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10450) Build zlib native code bindings in hadoop.dll for Windows.

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951300#comment-13951300
 ] 

Hudson commented on HADOOP-10450:
-

SUCCESS: Integrated in Hadoop-trunk-Commit #5425 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5425/])
HADOOP-10450. Build zlib native code bindings in hadoop.dll for Windows. 
Contributed by Chris Nauroth. (cnauroth: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582868)
* /hadoop/common/trunk/BUILDING.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zlib/ZlibCompressor.c


 Build zlib native code bindings in hadoop.dll for Windows.
 --

 Key: HADOOP-10450
 URL: https://issues.apache.org/jira/browse/HADOOP-10450
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, native
Affects Versions: 3.0.0, 2.3.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth
 Fix For: 3.0.0, 2.4.0

 Attachments: HADOOP-10450.1.patch


 Currently, the zlib native code bindings are not built in to hadoop.dll for 
 Windows.  This patch will include this in the Windows build.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (HADOOP-8064) Remove unnecessary dependency on w3c.org in document processing

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth reassigned HADOOP-8064:
-

Assignee: Chris Nauroth  (was: Kihwal Lee)

 Remove unnecessary dependency on w3c.org in document processing
 ---

 Key: HADOOP-8064
 URL: https://issues.apache.org/jira/browse/HADOOP-8064
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 0.23.0, 0.23.1
Reporter: Kihwal Lee
Assignee: Chris Nauroth
 Fix For: 0.23.2

 Attachments: hadoop-8064.patch.txt, hadoop-8064.patch.txt


 Our builds fail occasionally due to validation failures caused by 
 unavailability of w3.org. In fact, w3.org has been fed up with this kind of 
 requests, blacklisting/throttling have been in place for some time.
 The ones I've seen are coming from maven pdf plugin v.1.1 used in 
 hadoop-tools/hadoop-distcp.  The input validation has been made configurable 
 in MPDF-39, which requires DOXIA-392 (fixed since doxia-1.1.3). 
 Unfortunately, the maven pdf plugin 1.2 has been cooking for long time and 
 not been released yet. May be we could force it to use a later version of 
 doxia?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-8064) Remove unnecessary dependency on w3c.org in document processing

2014-03-28 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-8064:
--

Assignee: Kihwal Lee  (was: Chris Nauroth)

 Remove unnecessary dependency on w3c.org in document processing
 ---

 Key: HADOOP-8064
 URL: https://issues.apache.org/jira/browse/HADOOP-8064
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 0.23.0, 0.23.1
Reporter: Kihwal Lee
Assignee: Kihwal Lee
 Fix For: 0.23.2

 Attachments: hadoop-8064.patch.txt, hadoop-8064.patch.txt


 Our builds fail occasionally due to validation failures caused by 
 unavailability of w3.org. In fact, w3.org has been fed up with this kind of 
 requests, blacklisting/throttling have been in place for some time.
 The ones I've seen are coming from maven pdf plugin v.1.1 used in 
 hadoop-tools/hadoop-distcp.  The input validation has been made configurable 
 in MPDF-39, which requires DOXIA-392 (fixed since doxia-1.1.3). 
 Unfortunately, the maven pdf plugin 1.2 has been cooking for long time and 
 not been released yet. May be we could force it to use a later version of 
 doxia?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-9907) Webapp http://hostname:port/metrics link is not working

2014-03-28 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated HADOOP-9907:


Priority: Critical  (was: Blocker)

This isn't a blocker for 2.4. It's been around since the first release of 2.x 
line, not specifically a blocker for 2.4.

Coming to the fix, let's make sure how jmx and /metrics are different in the 
1.x lines. If they are equivalent, then the approach is fine, but let's check 
that first.

 Webapp http://hostname:port/metrics  link is not working 
 -

 Key: HADOOP-9907
 URL: https://issues.apache.org/jira/browse/HADOOP-9907
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Jian He
Assignee: Akira AJISAKA
Priority: Critical
 Attachments: HADOOP-9907.patch


 This link is not working which just shows a blank page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10301) AuthenticationFilter should return Forbidden for failed authentication

2014-03-28 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951430#comment-13951430
 ] 

Hudson commented on HADOOP-10301:
-

SUCCESS: Integrated in Hadoop-trunk-Commit #5426 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5426/])
HADOOP-10301. AuthenticationFilter should return Forbidden for failed 
authentication. Contributed by Daryn Sharp. (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1582883)
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/TestPseudoAuthenticator.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestAuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt


 AuthenticationFilter should return Forbidden for failed authentication
 --

 Key: HADOOP-10301
 URL: https://issues.apache.org/jira/browse/HADOOP-10301
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
Reporter: Daryn Sharp
Assignee: Daryn Sharp
Priority: Blocker
 Attachments: HADOOP-10301.branch-23.patch, 
 HADOOP-10301.branch-23.patch, HADOOP-10301.patch, HADOOP-10301.patch, 
 HADOOP-10301.patch


 The hadoop-auth AuthenticationFilter returns a 401 Unauthorized without a 
 WWW-Authenticate headers.  The is illegal per the HTTP RPC and causes a NPE 
 in the HttpUrlConnection.
 This is half of a fix that affects webhdfs.  See HDFS-4564.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HADOOP-10301) AuthenticationFilter should return Forbidden for failed authentication

2014-03-28 Thread Jing Zhao (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HADOOP-10301:
---

   Resolution: Fixed
Fix Version/s: 2.4.0
   3.0.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I've committed the patch to trunk, branch-2, and branch-2.4. I have not 
committed it to branch-0.23. Please feel free to commit it if you think it's ok 
[~daryn].

 AuthenticationFilter should return Forbidden for failed authentication
 --

 Key: HADOOP-10301
 URL: https://issues.apache.org/jira/browse/HADOOP-10301
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
Reporter: Daryn Sharp
Assignee: Daryn Sharp
Priority: Blocker
 Fix For: 3.0.0, 2.4.0

 Attachments: HADOOP-10301.branch-23.patch, 
 HADOOP-10301.branch-23.patch, HADOOP-10301.patch, HADOOP-10301.patch, 
 HADOOP-10301.patch


 The hadoop-auth AuthenticationFilter returns a 401 Unauthorized without a 
 WWW-Authenticate headers.  The is illegal per the HTTP RPC and causes a NPE 
 in the HttpUrlConnection.
 This is half of a fix that affects webhdfs.  See HDFS-4564.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10446) native code for reading Hadoop configuration XML files

2014-03-28 Thread Colin Patrick McCabe (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951467#comment-13951467
 ] 

Colin Patrick McCabe commented on HADOOP-10446:
---

That's a good point.  The YARN native client may need the ability to write out 
the config at some point.  It's still not clear to me whether we need that for 
YARN (as opposed to MR1)-- perhaps a YARN expert could comment.  In either 
case, I don't think we need to do it right away in this JIRA.  We can have 
another JIRA for writing the config back out.

 native code for reading Hadoop configuration XML files
 --

 Key: HADOOP-10446
 URL: https://issues.apache.org/jira/browse/HADOOP-10446
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: Colin Patrick McCabe

 We need to have a way to read Hadoop configuration XML files in the native 
 HDFS and YARN clients.  This will allow those clients to discover the 
 locations of NameNodes, YARN daemons, and other configuration settings, etc. 
 etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-9525) Add tests that validate winutils chmod behavior on folders

2014-03-28 Thread Ivan Mitic (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13951772#comment-13951772
 ] 

Ivan Mitic commented on HADOOP-9525:


Thanks Chris for the review, will commit the patch shortly. 

 Add tests that validate winutils chmod behavior on folders
 --

 Key: HADOOP-9525
 URL: https://issues.apache.org/jira/browse/HADOOP-9525
 Project: Hadoop Common
  Issue Type: Test
  Components: test, util
Affects Versions: 3.0.0
Reporter: Ivan Mitic
Assignee: Ivan Mitic
 Attachments: HADOOP-9525.2.patch, HADOOP-9525.patch


 As part of HADOOP-9413 and HDFS-4610 I realized that we don't have tests that 
 validate the behavior of winutils chmod on folders. It would be good to add 
 additional tests to both validate the functionality and use them as means to 
 document some subtle differences in behavior between Unix and Windows chmod.



--
This message was sent by Atlassian JIRA
(v6.2#6252)