[jira] [Created] (HADOOP-11898) add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2

2015-05-01 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11898:
---

 Summary: add nfs3 and portmap starting command in hadoop-daemon.sh 
in branch-2
 Key: HADOOP-11898
 URL: https://issues.apache.org/jira/browse/HADOOP-11898
 Project: Hadoop Common
  Issue Type: Bug
  Components: bin, nfs
Affects Versions: 2.7.0
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


nfs3 and portmap should also be in the list:
{noformat}
case $command in
  
namenode|secondarynamenode|datanode|journalnode|dfs|dfsadmin|fsck|balancer|zkfc)
if [ -z $HADOOP_HDFS_HOME ]; then
  hdfsScript=$HADOOP_PREFIX/bin/hdfs
else
  hdfsScript=$HADOOP_HDFS_HOME/bin/hdfs
fi
nohup nice -n $HADOOP_NICENESS $hdfsScript --config $HADOOP_CONF_DIR 
$command $@  $log 21  /dev/null 
  ;;
  (*)
nohup nice -n $HADOOP_NICENESS $hadoopScript --config $HADOOP_CONF_DIR 
$command $@  $log 21  /dev/null 
  ;;
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11715) azureFs::getFileStatus doesn't check the file system scheme and thus could throw a misleading exception.

2015-03-13 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11715:
---

 Summary: azureFs::getFileStatus doesn't check the file system 
scheme and thus could throw a misleading exception. 
 Key: HADOOP-11715
 URL: https://issues.apache.org/jira/browse/HADOOP-11715
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs
Affects Versions: 2.7.0
Reporter: Brandon Li


 azureFs::getFileStatus doesn't check the file system scheme and thus could 
throw a misleading exception. 
For example, it complains filenotfound instead of wrong-fs for an hdfs path:


Caused by: java.io.FileNotFoundException: 
hdfs://headnode0:9000/hive/scratch/hadoopqa/a7d34a22-57eb-4678-84b4-43d84027d45f/hive_2015-03-02_23-13-04_713_5722627238053417441-1/hadoopqa/_tez_scratch_dir/_tez_scratch_dir/split_Map_1/job.split:
 No such file or directory.
at 
org.apache.hadoop.fs.azure.NativeAzureFileSystem.getFileStatus(NativeAzureFileSystem.java:1625)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11294) Nfs3FileAttributes should not change the values of nlink and size in the constructor

2014-11-10 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11294:
---

 Summary: Nfs3FileAttributes should not change the values of nlink 
and size in the constructor 
 Key: HADOOP-11294
 URL: https://issues.apache.org/jira/browse/HADOOP-11294
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


In stead, it should just take the values passed in.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HADOOP-11278) hadoop-daemon.sh script doesn't hornor --config option

2014-11-07 Thread Brandon Li (JIRA)

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

Brandon Li resolved HADOOP-11278.
-
Resolution: Invalid

 hadoop-daemon.sh script doesn't hornor --config option
 --

 Key: HADOOP-11278
 URL: https://issues.apache.org/jira/browse/HADOOP-11278
 Project: Hadoop Common
  Issue Type: Bug
  Components: bin
Affects Versions: 3.0.0
Reporter: Brandon Li





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11278) hadoop-daemon.sh command doesn't hornor --config option

2014-11-06 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11278:
---

 Summary: hadoop-daemon.sh command doesn't hornor --config option
 Key: HADOOP-11278
 URL: https://issues.apache.org/jira/browse/HADOOP-11278
 Project: Hadoop Common
  Issue Type: Bug
  Components: bin
Reporter: Brandon Li






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11245) Update NFS gateway to use Netty4

2014-10-29 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11245:
---

 Summary: Update NFS gateway to use Netty4
 Key: HADOOP-11245
 URL: https://issues.apache.org/jira/browse/HADOOP-11245
 Project: Hadoop Common
  Issue Type: Improvement
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11247) Fix a couple javac warnings in NFS

2014-10-29 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11247:
---

 Summary: Fix a couple javac warnings in NFS
 Key: HADOOP-11247
 URL: https://issues.apache.org/jira/browse/HADOOP-11247
 Project: Hadoop Common
  Issue Type: Bug
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li


This JIRA is to fix 2 javac warnings, which are overlooked in HADOOP-11195.
{format}
241a242,243
 [WARNING] 
 /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfiguration.java:[46,41]
  [deprecation] NFS_USERGROUP_UPDATE_MILLIS_KEY in 
 org.apache.hadoop.nfs.nfs3.Nfs3Constant has been deprecated
 [WARNING] 
 /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfiguration.java:[48,41]
  [deprecation] NFS_STATIC_MAPPING_FILE_KEY in 
 org.apache.hadoop.nfs.nfs3.Nfs3Constant has been deprecated
{format}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-11214) Add web UI for NFS gateway

2014-10-20 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-11214:
---

 Summary: Add web UI for NFS gateway
 Key: HADOOP-11214
 URL: https://issues.apache.org/jira/browse/HADOOP-11214
 Project: Hadoop Common
  Issue Type: Bug
  Components: nfs
Reporter: Brandon Li


This JIRA is to track the effort to add web UI for NFS gateway to show some 
metrics and configuration related information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HADOOP-10990) Add missed NFSv3 request and response classes

2014-08-20 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10990:
---

 Summary: Add missed NFSv3 request and response classes
 Key: HADOOP-10990
 URL: https://issues.apache.org/jira/browse/HADOOP-10990
 Project: Hadoop Common
  Issue Type: Improvement
  Components: nfs
Reporter: Brandon Li
Assignee: Brandon Li


Two RPC calls were missed in original NFS implementation: LINK and MKNOD. This 
JIRA is to track the effort of adding the missed RPC calls.



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


[jira] [Resolved] (HADOOP-10545) hdfs zkfc NullPointerException

2014-07-21 Thread Brandon Li (JIRA)

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

Brandon Li resolved HADOOP-10545.
-

Resolution: Duplicate

 hdfs zkfc NullPointerException
 --

 Key: HADOOP-10545
 URL: https://issues.apache.org/jira/browse/HADOOP-10545
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 2.4.0
 Environment: Linux
Reporter: Sebastien Barrier
Priority: Minor

 Running hdfs zkfc on a node which is not a Namenode result of 
 NullPointerException.
 An error message should be displayed telling that zkfc must be run only on a 
 Namenode server and/or to verify configuration parameters.
 # hdfs zkfc -formatZK
 Exception in thread main java.lang.NullPointerException
 at 
 com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
 at 
 org.apache.hadoop.hdfs.tools.NNHAServiceTarget.init(NNHAServiceTarget.java:57)
 at 
 org.apache.hadoop.hdfs.tools.DFSZKFailoverController.create(DFSZKFailoverController.java:128)
 at 
 org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:172)



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


[jira] [Created] (HADOOP-10761) Provide an NFS gateway option to get groups from local name service for easy deployment in cloud

2014-06-27 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10761:
---

 Summary: Provide an NFS gateway option to get groups from local 
name service for easy deployment in cloud
 Key: HADOOP-10761
 URL: https://issues.apache.org/jira/browse/HADOOP-10761
 Project: Hadoop Common
  Issue Type: New Feature
  Components: nfs
Reporter: Brandon Li


In cloud deployment, client machines and Hadoop Cluster are sometimes in 
different DMZ and LDAP in some other. Integration client machines with LDAP 
might require lot of firewall tickets, which can be a pain especially when 
users keep on adding new client machines.

When the client is not integrated with LDAP for the group mapping, NFS should 
not use the group list in the request. Instead, NFS gateway can get the group 
list from local name service.

This JIRA is to track the effort to provide a configuration option to get list 
of GID from LDAP/OS for making the deployment at Cloud easier. Also this can 
remove the limitation of 15 GID in the NFS request.




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


[jira] [Created] (HADOOP-10656) The password keystore file is not picked by LDAP group mapping

2014-06-02 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10656:
---

 Summary: The password keystore file is not picked by LDAP group 
mapping
 Key: HADOOP-10656
 URL: https://issues.apache.org/jira/browse/HADOOP-10656
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Reporter: Brandon Li


The user configured password file(LDAP_KEYSTORE_PASSWORD_FILE_KEY) will not be 
picked by LdapGroupsMapping:

In setConf():

{noformat}
keystorePass =
conf.get(LDAP_KEYSTORE_PASSWORD_KEY, LDAP_KEYSTORE_PASSWORD_DEFAULT);
if (keystorePass.isEmpty()) {
  keystorePass = extractPassword(
conf.get(LDAP_KEYSTORE_PASSWORD_KEY, LDAP_KEYSTORE_PASSWORD_DEFAULT)); 
}
{noformat}



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


[jira] [Created] (HADOOP-10612) NFS failed to refresh the user group id mapping table

2014-05-16 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10612:
---

 Summary: NFS failed to refresh the user group id mapping table
 Key: HADOOP-10612
 URL: https://issues.apache.org/jira/browse/HADOOP-10612
 Project: Hadoop Common
  Issue Type: Bug
  Components: nfs
Affects Versions: 2.4.0
Reporter: Brandon Li
Assignee: Brandon Li
 Attachments: HADOOP-10612.002.patch, HADOOP-10612.patch

Found by Preetham Kukillaya. The user/group id mapping table is not update 
periodically.



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


[jira] [Created] (HADOOP-10425) Incompatible behavior of LocalFileSystem:getContentSummary

2014-03-24 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10425:
---

 Summary: Incompatible behavior of LocalFileSystem:getContentSummary
 Key: HADOOP-10425
 URL: https://issues.apache.org/jira/browse/HADOOP-10425
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs
Affects Versions: 2.3.0
Reporter: Brandon Li
Assignee: Tsz Wo Nicholas Sze


Unlike in Hadoop1, FilterFileSystem overrides getContentSummary, which causes 
content summary to be called on rawLocalFileSystem in Local mode.

This impacts the computations of Stats in Hive with getting back FileSizes that 
include the size of the crc files.




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


[jira] [Resolved] (HADOOP-10112) har file listing doesn't work with wild card

2014-01-17 Thread Brandon Li (JIRA)

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

Brandon Li resolved HADOOP-10112.
-

Resolution: Fixed

 har file listing  doesn't work with wild card
 -

 Key: HADOOP-10112
 URL: https://issues.apache.org/jira/browse/HADOOP-10112
 Project: Hadoop Common
  Issue Type: Bug
  Components: tools
Affects Versions: 2.2.0
Reporter: Brandon Li
Assignee: Brandon Li
 Fix For: 2.3.0

 Attachments: HADOOP-10112.004.patch


 [test@test001 root]$ hdfs dfs -ls har:///tmp/filename.har/*
 -ls: Can not create a Path from an empty string
 Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [path ...]
 It works without *.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (HADOOP-10160) Unregister NFS and Mount service when NFS gateway is shutting down

2013-12-10 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10160:
---

 Summary: Unregister NFS and Mount service when NFS gateway is 
shutting down
 Key: HADOOP-10160
 URL: https://issues.apache.org/jira/browse/HADOOP-10160
 Project: Hadoop Common
  Issue Type: Bug
  Components: nfs
Reporter: Brandon Li


The services should be unregistered if the gateway is asked to shutdown 
gracefully.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Created] (HADOOP-10112) har file listing doesn't work with wild card

2013-11-18 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-10112:
---

 Summary: har file listing  doesn't work with wild card
 Key: HADOOP-10112
 URL: https://issues.apache.org/jira/browse/HADOOP-10112
 Project: Hadoop Common
  Issue Type: Bug
  Components: tools
Reporter: Brandon Li


[test@test001 root]$ hdfs dfs -ls har:///tmp/filename.har/*
-ls: Can not create a Path from an empty string
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [path ...]

It works without *.




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (HADOOP-9634) Duplicate Request Cache in ONCRPC needs to resend response for served requests

2013-06-07 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-9634:
--

 Summary: Duplicate Request Cache in ONCRPC needs to resend 
response for served requests
 Key: HADOOP-9634
 URL: https://issues.apache.org/jira/browse/HADOOP-9634
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Brandon Li
Assignee: Brandon Li


The duplicate request cache can drop repeated request which is still pending, 
but should send back the response again for served request if the response is 
cached.


--
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-9515) Add general interface for NFS and Mount

2013-04-26 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-9515:
--

 Summary: Add general interface for NFS and Mount
 Key: HADOOP-9515
 URL: https://issues.apache.org/jira/browse/HADOOP-9515
 Project: Hadoop Common
  Issue Type: New Feature
Reporter: Brandon Li
Assignee: Brandon Li


These is the general interface implementation for NFS and Mount protocol, e.g., 
some protocol related data structures and etc. It doesn't include the file 
system specific implementations.

--
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-9501) Change ls command to display and execute and sticky bit permission.

2013-04-24 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-9501:
--

 Summary: Change ls command to display and execute and sticky bit 
permission.
 Key: HADOOP-9501
 URL: https://issues.apache.org/jira/browse/HADOOP-9501
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs
Affects Versions: 3.0.0
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor




--
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-9179) TestFileSystem fails with open JDK7

2013-01-04 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-9179:
--

 Summary: TestFileSystem fails with open JDK7
 Key: HADOOP-9179
 URL: https://issues.apache.org/jira/browse/HADOOP-9179
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Brandon Li
Assignee: Brandon Li


This is a test order-dependency bug as pointed out in HADOOP-8390. This JIRA is 
to track the fix in branch-1.

--
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-9000) remove Trash.makeTrashRelativePath in branch-1-win

2012-10-31 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-9000:
--

 Summary: remove Trash.makeTrashRelativePath in branch-1-win
 Key: HADOOP-9000
 URL: https://issues.apache.org/jira/browse/HADOOP-9000
 Project: Hadoop Common
  Issue Type: Improvement
  Components: trash
Affects Versions: 1-win
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


This method does nothing except calling Path.mergePaths(). If the method is 
used to show the purpose of the operation, comment can do as well since it's 
used only in a couple places.

--
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-9000) remove Trash.makeTrashRelativePath in branch-1-win

2012-10-31 Thread Brandon Li (JIRA)

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

Brandon Li resolved HADOOP-9000.


Resolution: Won't Fix

 remove Trash.makeTrashRelativePath in branch-1-win
 --

 Key: HADOOP-9000
 URL: https://issues.apache.org/jira/browse/HADOOP-9000
 Project: Hadoop Common
  Issue Type: Improvement
  Components: trash
Affects Versions: 1-win
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Attachments: HADOOP-9000.branch-1-win.patch


 This method does nothing except calling Path.mergePaths(). If the method is 
 used to show the purpose of the operation, comment can do as well since it's 
 used only in a couple places.

--
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-8966) Change dfsadmin and haadmin commands to be case insenitive

2012-10-23 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8966:
--

 Summary: Change dfsadmin and haadmin commands to be case 
insenitive 
 Key: HADOOP-8966
 URL: https://issues.apache.org/jira/browse/HADOOP-8966
 Project: Hadoop Common
  Issue Type: Improvement
Reporter: Brandon Li
Priority: Trivial


It can be easier to use when these commands are case insensitive.

--
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-8837) add component Yarn to @InterfaceAudience.LimitedPrivate classes

2012-09-24 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8837:
--

 Summary: add component Yarn to @InterfaceAudience.LimitedPrivate 
classes
 Key: HADOOP-8837
 URL: https://issues.apache.org/jira/browse/HADOOP-8837
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.0.0
Reporter: Brandon Li
Priority: Trivial


With Yarn becoming a new Hadoop subcomponent, some classes (e.g., HttpServer) 
with InterfaceAudience.LimitedPrivate annotation need to include Yarn as one 
audience. 

--
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-8832) backport HADOOP-5257 to branch-1

2012-09-20 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8832:
--

 Summary: backport HADOOP-5257 to branch-1
 Key: HADOOP-8832
 URL: https://issues.apache.org/jira/browse/HADOOP-8832
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Brandon Li
Assignee: Brandon Li


The original patch was only partially back ported to branch-1. This JIRA is to 
back port the rest of it.

--
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-8818) Should use equals() rather than == to compare String or Text in MD5MD5CRC32FileChecksum and TFileDumper

2012-09-16 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8818:
--

 Summary: Should use equals() rather than == to compare String or 
Text in MD5MD5CRC32FileChecksum and TFileDumper
 Key: HADOOP-8818
 URL: https://issues.apache.org/jira/browse/HADOOP-8818
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs, io
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
 Attachments: HADOOP-8818.patch

Should use equals() rather than == to compare String or Text in 
MD5MD5CRC32FileChecksum and TFileDumper.

--
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-8819) Should use instead of in a few places in FTPFileSystem,FTPInputStream,S3InputStream,ViewFileSystem,ViewFs

2012-09-16 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8819:
--

 Summary: Should use  instead of   in a few places in 
FTPFileSystem,FTPInputStream,S3InputStream,ViewFileSystem,ViewFs
 Key: HADOOP-8819
 URL: https://issues.apache.org/jira/browse/HADOOP-8819
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs
Reporter: Brandon Li
Assignee: Brandon Li


Should use  instead of   in a few places in 
FTPFileSystem,FTPInputStream,S3InputStream,ViewFileSystem,ViewFs.

--
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-8815) RandomDatum overrides equals(Object) but no hashCode()

2012-09-15 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8815:
--

 Summary: RandomDatum overrides equals(Object) but no hashCode()
 Key: HADOOP-8815
 URL: https://issues.apache.org/jira/browse/HADOOP-8815
 Project: Hadoop Common
  Issue Type: Improvement
  Components: test
Affects Versions: 3.0.0
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


Override equal() but not hashCode() is a violation of the general contract for 
Object.hashCode will occur, which can have unexpected repercussions when this 
class is in conjunction with all hash-based collections.

This test class is used in multiple places, so it may be worth fixing.

--
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-8583) Globbing is not correctly handled in a few cases on Windows

2012-09-06 Thread Brandon Li (JIRA)

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

Brandon Li resolved HADOOP-8583.


Resolution: Duplicate

dup of HADOOP-8739

 Globbing is not correctly handled in a few cases on Windows
 ---

 Key: HADOOP-8583
 URL: https://issues.apache.org/jira/browse/HADOOP-8583
 Project: Hadoop Common
  Issue Type: Bug
 Environment: Windows
Reporter: Ramya Sunil

 Glob handling fails in a few cases on a Windows environment.
 For example:
 {noformat}
 c:\ hadoop dfs -ls /
 Found 2 items
 drwxrwxrwx   - Administrator supergroup  0 2012-07-06 15:00 /tmp
 drwxr-xr-x   - Administrator supergroup  0 2012-07-06 18:52 /user
 c:\ hadoop dfs -ls /tmpInvalid*
 Found 2 items
 drwxr-xr-x   - Administrator supergroup  0 2012-07-10 18:50 
 /user/Administrator/sortInputDir
 drwxr-xr-x   - Administrator supergroup  0 2012-07-10 18:50 
 /user/Administrator/sortOutputDir
 c:\ hadoop dfs -rmr /tmp/*
 Usage: java FsShell [-rmr [-skipTrash] src ]
 {noformat}

--
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-8754) remove all the RPC.getServer() variants

2012-08-31 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8754:
--

 Summary: remove all the RPC.getServer() variants
 Key: HADOOP-8754
 URL: https://issues.apache.org/jira/browse/HADOOP-8754
 Project: Hadoop Common
  Issue Type: Improvement
  Components: ipc
Affects Versions: 3.0.0
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


In HADOOP-8736, a Builder is introduced to replace all the getServer() 
variants. This JIRA is to delete all the getServer() variants once all the 
other components replaced this method with the Builder.

--
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-8736) Create a Builder to make an RPC server

2012-08-27 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8736:
--

 Summary: Create a Builder to make an RPC server
 Key: HADOOP-8736
 URL: https://issues.apache.org/jira/browse/HADOOP-8736
 Project: Hadoop Common
  Issue Type: Improvement
  Components: ipc
Affects Versions: 3.0.0
Reporter: Brandon Li
Assignee: Brandon Li


There are quite a few variants of getServer() method to create an RPC server. 
Create a builder class to abstract the building steps and avoid more 
getServer() variants in the future.

--
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-8617) backport pure Java CRC32 calculator changes to branch-1

2012-07-24 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8617:
--

 Summary: backport pure Java CRC32 calculator changes to branch-1
 Key: HADOOP-8617
 URL: https://issues.apache.org/jira/browse/HADOOP-8617
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Brandon Li
Assignee: Brandon Li


Multiple efforts have been made gradually to improve the CRC performance in 
Hadoop. This JIRA is to back port these changes to branch-1, which include 
HADOOP-6166, HADOOP-6148, HADOOP-7333.

The related HDFS and MAPREDUCE patches (e.g., HDFS-496 and MR-782) will be 
uploaded to their original JIRAs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (HADOOP-8593) add the missed @Override to Metric/Metric2 package

2012-07-13 Thread Brandon Li (JIRA)
Brandon Li created HADOOP-8593:
--

 Summary: add  the missed @Override to Metric/Metric2 package
 Key: HADOOP-8593
 URL: https://issues.apache.org/jira/browse/HADOOP-8593
 Project: Hadoop Common
  Issue Type: Improvement
  Components: metrics
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor


Adding @Override to the proper methods to take advantage of the compiler 
checking and make the code more readable. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira