[jira] [Resolved] (HADOOP-8936) Local users should be able to query a domain user's groups on Windows

2012-10-16 Thread Suresh Srinivas (JIRA)

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

Suresh Srinivas resolved HADOOP-8936.
-

  Resolution: Fixed
Hadoop Flags: Reviewed

+1 for the patch. I committed it to branch-1-win. Thank you Chuan.

> Local users should be able to query a domain user's groups on Windows
> -
>
> Key: HADOOP-8936
> URL: https://issues.apache.org/jira/browse/HADOOP-8936
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 1-win
>Reporter: Chuan Liu
>Assignee: Chuan Liu
>Priority: Minor
> Fix For: 1-win
>
> Attachments: HADOOP-8936-branch-1-win.patch
>
>
> When Hadoop run by a local user, and a domain user submit a job, Hadoop will 
> need to get the local groups for the domain user. This fails in 'winutils' 
> now because we tried to query domain controller for domain users and local 
> users does not have the permission to do so. We should fix the problem so 
> that local users should be able to query a domain user's local groups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (HADOOP-8882) uppercase namenode host name causes fsck to fail when useKsslAuth is on

2012-10-16 Thread Suresh Srinivas (JIRA)

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

Suresh Srinivas resolved HADOOP-8882.
-

   Resolution: Fixed
Fix Version/s: 1.2.0
 Hadoop Flags: Reviewed

I committed the patch to branch-1. Thank you Aprit.

> uppercase namenode host name causes fsck to fail when useKsslAuth is on
> ---
>
> Key: HADOOP-8882
> URL: https://issues.apache.org/jira/browse/HADOOP-8882
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 1.0.3, 1.1.0, 1.2.0
>Reporter: Arpit Gupta
>Assignee: Arpit Gupta
> Fix For: 1.2.0
>
> Attachments: HADOOP-8882.branch-1.patch, HADOOP-8882.branch-1.patch
>
>
> {code}
>  public static void fetchServiceTicket(URL remoteHost) throws IOException {
> if(!UserGroupInformation.isSecurityEnabled())
>   return;
> 
> String serviceName = "host/" + remoteHost.getHost();
> {code}
> the hostname should be converted to lower case. Saw this in branch 1, will 
> look at trunk and update the bug accordingly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HADOOP-8937) ClientProtocol should support a way to get DataNodeInfo for a particular data node.

2012-10-16 Thread Sameer Vaishampayan (JIRA)
Sameer Vaishampayan created HADOOP-8937:
---

 Summary: ClientProtocol should support a way to get DataNodeInfo 
for a particular data node.
 Key: HADOOP-8937
 URL: https://issues.apache.org/jira/browse/HADOOP-8937
 Project: Hadoop Common
  Issue Type: Improvement
  Components: fs
Affects Versions: 1.0.3
Reporter: Sameer Vaishampayan
Priority: Minor
 Fix For: 2.0.3-alpha


HBase project needs a way to find if a DataNode is running local or not on a 
given host. The current way is too expensive in which getDatanodeReport needs 
to be called which returns information for all data nodes in the cluster.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HADOOP-8936) Local users should be able to query a domain user's groups on Windows

2012-10-16 Thread Chuan Liu (JIRA)
Chuan Liu created HADOOP-8936:
-

 Summary: Local users should be able to query a domain user's 
groups on Windows
 Key: HADOOP-8936
 URL: https://issues.apache.org/jira/browse/HADOOP-8936
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 1-win
Reporter: Chuan Liu
Assignee: Chuan Liu
Priority: Minor
 Fix For: 1-win


When Hadoop run by a local user, and a domain user submit a job, Hadoop will 
need to get the local groups for the domain user. This fails in 'winutils' now 
because we tried to query domain controller for domain users and local users 
does not have the permission to do so. We should fix the problem so that local 
users should be able to query a domain user's local groups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HADOOP-8935) Make 'winutils ls' show the SID if the owner does not exist on the system

2012-10-16 Thread Chuan Liu (JIRA)
Chuan Liu created HADOOP-8935:
-

 Summary: Make 'winutils ls' show the SID if the owner does not 
exist on the system
 Key: HADOOP-8935
 URL: https://issues.apache.org/jira/browse/HADOOP-8935
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Chuan Liu
Priority: Minor


Right now, 'winutils ls' will fail if the file belongs to a user SID that does 
not exist on the system. E.g. the user is deleted. Previously, this is only a 
hypothesis scenario. However, we have seen some failures in the Azure 
deployment where the OS is re-imaged, and renders the old SID invalid. 
[~jgordon] proposed to display the SID itself in the invalid SID case similar 
to the situation on Linux. This JIRA is created to track this proposal.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (HADOOP-8888) add the ability to suppress the deprecated warnings when using hadoop cli

2012-10-16 Thread Arpit Gupta (JIRA)

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

Arpit Gupta resolved HADOOP-.
-

Resolution: Won't Fix

> add the ability to suppress the deprecated warnings when using hadoop cli
> -
>
> Key: HADOOP-
> URL: https://issues.apache.org/jira/browse/HADOOP-
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Arpit Gupta
>Assignee: Arpit Gupta
>
> some this similar to what HADOOP_HOME_WARN_SUPPRESS is used for in branch-1
> May be we can introduce
> HADOOP_DEPRECATED_WARN_SUPPRESS
> which if set to yes will suppress the various warnings that are thrown.
> For example commands like
> {code}
> hadoop dfs
> hadoop jar
> {code}
> etc will print out deprecated warnings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HADOOP-8934) Shell command ls should include sort options

2012-10-16 Thread Jonathan Allen (JIRA)
Jonathan Allen created HADOOP-8934:
--

 Summary: Shell command ls should include sort options
 Key: HADOOP-8934
 URL: https://issues.apache.org/jira/browse/HADOOP-8934
 Project: Hadoop Common
  Issue Type: Improvement
  Components: fs
Reporter: Jonathan Allen
Assignee: Jonathan Allen
Priority: Minor


The shell command ls should include options to sort the output similar to the 
unix ls command.  The following options seem appropriate:
-t : sort by modification time
-S : sort by file size
-r : reverse the sort order
-u : use access time rather than modification time for sort and display

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (HADOOP-6496) HttpServer sends wrong content-type for CSS files (and others)

2012-10-16 Thread Ivan Mitic (JIRA)

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

Ivan Mitic reopened HADOOP-6496:



Reopening for branch 1.1 backport.

> HttpServer sends wrong content-type for CSS files (and others)
> --
>
> Key: HADOOP-6496
> URL: https://issues.apache.org/jira/browse/HADOOP-6496
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 0.21.0, 0.22.0
>Reporter: Lars Francke
>Assignee: Ivan Mitic
>Priority: Minor
> Fix For: 0.22.0
>
> Attachments: HADOOP-6496.branch-1.1.backport.2.patch, 
> HADOOP-6496.branch-1.1.backport.patch, hadoop-6496.txt, hadoop-6496.txt
>
>
> CSS files are send as text/html causing problems if the HTML page is rendered 
> in standards mode. The HDFS interface for example still works because it is 
> rendered in quirks mode, the HBase interface doesn't work because it is 
> rendered in standards mode. See HBASE-2110 for more details.
> I've had a quick look at HttpServer but I'm too unfamiliar with it to see the 
> problem. I think this started happening with HADOOP-6441 which would lead me 
> to believe that the filter is called for every request and not only *.jsp and 
> *.html. I'd consider this a bug but I don't know enough about this to provide 
> a fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HADOOP-8933) test-patch.sh fails erroneously on platforms that can't build native

2012-10-16 Thread Chris Nauroth (JIRA)
Chris Nauroth created HADOOP-8933:
-

 Summary: test-patch.sh fails erroneously on platforms that can't 
build native
 Key: HADOOP-8933
 URL: https://issues.apache.org/jira/browse/HADOOP-8933
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 3.0.0
Reporter: Chris Nauroth
Assignee: Chris Nauroth


If a developer is working on a platform that can't build native (like OS X 
right now), then test-patch.sh will report the patch as a failure due to "The 
patch appears to cause the build to fail."  This is incorrect, because the 
developer's patch didn't cause the build to fail.  Adding an extra optional 
flag to test-patch.sh would help developers on these platforms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (HADOOP-8924) Hadoop Common creating package-info.java must not depend on sh

2012-10-16 Thread Suresh Srinivas (JIRA)

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

Suresh Srinivas resolved HADOOP-8924.
-

   Resolution: Fixed
Fix Version/s: trunk-win
 Hadoop Flags: Reviewed

I committed the patch to branch-trunk-win. Thank you Chris.

> Hadoop Common creating package-info.java must not depend on sh
> --
>
> Key: HADOOP-8924
> URL: https://issues.apache.org/jira/browse/HADOOP-8924
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: build
>Affects Versions: trunk-win
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
> Fix For: trunk-win
>
> Attachments: HADOOP-8924-branch-trunk-win.patch
>
>
> Currently, the build process relies on saveVersion.sh to generate 
> package-info.java with a version annotation.  The sh binary may not be 
> available on all developers' machines (e.g. Windows without Cygwin). This 
> issue tracks removal of that dependency in Hadoop Common.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira