[jira] [Created] (HADOOP-10644) Remote principal name case sensitivity issue introduced on Windows by HADOOP-10418

2014-05-30 Thread Remus Rusanu (JIRA)
Remus Rusanu created HADOOP-10644:
-

 Summary: Remote principal name case sensitivity issue introduced 
on Windows by HADOOP-10418
 Key: HADOOP-10644
 URL: https://issues.apache.org/jira/browse/HADOOP-10644
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 2.4.0
Reporter: Remus Rusanu


HADOOP-10418 caused the SPN to be generated using KRB_NT_SRV_HST type. This 
results in a wrong case FQDN name and the 
{code}
isPrincipalValid = serverPrincipal.equals(confPrincipal);
{code}
check fails due to case difference.



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


[jira] [Resolved] (HADOOP-10644) Remote principal name case sensitivity issue introduced on Windows by HADOOP-10418

2014-05-30 Thread Remus Rusanu (JIRA)

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

Remus Rusanu resolved HADOOP-10644.
---

Resolution: Not a Problem

ok, the issue comes from config. the principals in *-site.zml must be properly 
cased (lowercase hostnames). SecurityUtil.replacePatternt would do the right 
thing, had it have a chance.

 Remote principal name case sensitivity issue introduced on Windows by 
 HADOOP-10418
 --

 Key: HADOOP-10644
 URL: https://issues.apache.org/jira/browse/HADOOP-10644
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 2.4.0
Reporter: Remus Rusanu
  Labels: windows

 HADOOP-10418 caused the SPN to be generated using KRB_NT_SRV_HST type. This 
 results in a wrong case FQDN name and the 
 {code}
 isPrincipalValid = serverPrincipal.equals(confPrincipal);
 {code}
 check fails due to case difference.



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


Re: Change proposal for FileInputFormat isSplitable

2014-05-30 Thread Doug Cutting
I was trying to explain my comment, where I stated that, changing the
default implementation to return false would be an incompatible
change.  The patch was added 6 months after that comment, so the
comment didn't address the patch.

The patch does not appear to change the default implementation to
return false unless the suffix of the file name is that of a known
unsplittable compression format.  So the folks who'd be harmed by this
are those who used a suffix like .gz for an Avro, Parquet or
other-format file.  Their applications might suddenly run much slower
and it would be difficult for them to determine why.  Such folks are
probably few, but perhaps exist.  I'd prefer a change that avoided
that possibility entirely.

Doug

On Fri, May 30, 2014 at 3:02 PM, Niels Basjes ni...@basjes.nl wrote:
 Hi,

 The way I see the effects of the original patch on existing subclasses:
 - implemented isSplitable
-- no performance difference.
 - did not implement isSplitable
-- then there is no performance difference if the container is either
 not compressed or uses a splittable compression.
-- If it uses a common non splittable compression (like gzip) then the
 output will suddenly be different (which is the correct answer) and the
 jobs will finish sooner because the input is not processed multiple times.

 Where do you see a performance impact?

 Niels
 On May 30, 2014 8:06 PM, Doug Cutting cutt...@apache.org wrote:

 On Thu, May 29, 2014 at 2:47 AM, Niels Basjes ni...@basjes.nl wrote:
  For arguments I still do not fully understand this was rejected by Todd
 and
  Doug.

 Performance is a part of compatibility.

 Doug



[jira] [Created] (HADOOP-10645) TestKMS fails because race condition writing acl files

2014-05-30 Thread Alejandro Abdelnur (JIRA)
Alejandro Abdelnur created HADOOP-10645:
---

 Summary: TestKMS fails because race condition writing acl files
 Key: HADOOP-10645
 URL: https://issues.apache.org/jira/browse/HADOOP-10645
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur


The {{TestKMS#testACLs()}} test randomly fails because a race condition while 
updating the acls files which is hot-reloaded.

We should disable the background thread that does the reload and do it manually 
for the purposes of the test.



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


[jira] [Resolved] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-30 Thread Colin Patrick McCabe (JIRA)

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

Colin Patrick McCabe resolved HADOOP-10624.
---

   Resolution: Fixed
Fix Version/s: HADOOP-10388

committed, thanks!

 Fix some minors typo and add more test cases for hadoop_err
 ---

 Key: HADOOP-10624
 URL: https://issues.apache.org/jira/browse/HADOOP-10624
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng
 Fix For: HADOOP-10388

 Attachments: HADOOP-10624-pnative.001.patch, 
 HADOOP-10624-pnative.002.patch, HADOOP-10624-pnative.003.patch, 
 HADOOP-10624-pnative.004.patch


 Changes:
 1. Add more test cases to cover method hadoop_lerr_alloc and 
 hadoop_uverr_alloc
 2. Fix typo as following:
 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
 hadoop_err.h
 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
 Exception in hadoop_err.c
 3) Change DBUG to DEBUG in messenger.c
 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Resolved] (HADOOP-10637) Add snapshot and several dfsadmin tests into TestCLI

2014-05-30 Thread Dasha Boudnik (JIRA)

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

Dasha Boudnik resolved HADOOP-10637.


Resolution: Duplicate

Duplicate of HDFS-6297.

 Add snapshot and several dfsadmin tests into TestCLI
 

 Key: HADOOP-10637
 URL: https://issues.apache.org/jira/browse/HADOOP-10637
 Project: Hadoop Common
  Issue Type: Improvement
  Components: test
Affects Versions: 3.0.0
Reporter: Dasha Boudnik
 Attachments: HADOOP-10637.patch, HADOOP-10637.patch


 Add the following commands to TestCLI:
 appendToFile
 text
 rmdir
 rmdir with ignore-fail-on-non-empty
 df
 expunge
 getmerge
 allowSnapshot
 disallowSnapshot
 createSnapshot
 renameSnapshot
 deleteSnapshot
 refreshUserToGroupsMappings
 refreshSuperUserGroupsConfiguration
 setQuota
 clrQuota
 setSpaceQuota
 setBalancerBandwidth
 finalizeUpgrade



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