[jira] Created: (HADOOP-7172) SecureIO should not check owner on non-secure clusters that have no native support

2011-03-08 Thread Todd Lipcon (JIRA)
SecureIO should not check owner on non-secure clusters that have no native 
support
--

 Key: HADOOP-7172
 URL: https://issues.apache.org/jira/browse/HADOOP-7172
 Project: Hadoop Common
  Issue Type: Bug
  Components: io, security
Affects Versions: 0.22.0
Reporter: Todd Lipcon
Priority: Critical
 Fix For: 0.22.0


The SecureIOUtils.openForRead function currently uses a racy stat/open combo if 
security is disabled and the native libraries are not available. This ends up 
shelling out to "ls -ld" which is very very slow. We've seen this cause 
significant performance regressions on clusters that match this profile.

Since the racy permissions check doesn't buy us any security anyway, we should 
just fall back to a normal "open" without any stat() at all, if we can't use 
the native support to do it efficiently.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Created: (HADOOP-7173) Remove unused fstat() call from NativeIO

2011-03-08 Thread Todd Lipcon (JIRA)
Remove unused fstat() call from NativeIO


 Key: HADOOP-7173
 URL: https://issues.apache.org/jira/browse/HADOOP-7173
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 0.22.0
Reporter: Todd Lipcon
 Fix For: 0.22.0


After HADOOP-7115, we don't need the fstat() native call or Stat class anymore. 
Let's remove them to cut down on unneeded code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Created: (HADOOP-7174) null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine

2011-03-08 Thread Uma Maheswara Rao G (JIRA)
null is displayed in the console,if the src path is invalid while doing 
copyToLocal operation from commandLine
--

 Key: HADOOP-7174
 URL: https://issues.apache.org/jira/browse/HADOOP-7174
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Uma Maheswara Rao G
Priority: Minor


When we perform copyToLocal operations from commandLine and if src Path is 
invalid 

srcFS.globStatus(srcpath) will return null. So, when we find the length of 
resulted value, it will *throw NullPointerException*.

 Since we are handling generic exception , it will display null as the message.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Hadoop-Common-trunk-Commit - Build # 522 - Still Failing

2011-03-08 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/522/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 2037 lines...]

clean-sign:

sign:

signanddeploy:

simpledeploy:
[artifact:install-provider] Installing provider: 
org.apache.maven.wagon:wagon-http:jar:1.0-beta-2:runtime
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-http/1.0-beta-2/wagon-http-1.0-beta-2.pom from 
central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom
 from central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom from central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
 from central
[artifact:install-provider] Downloading: 
jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom from central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom
 from central
[artifact:install-provider] Downloading: 
commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom from central
[artifact:install-provider] Downloading: 
commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.pom from 
central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-http/1.0-beta-2/wagon-http-1.0-beta-2.jar from 
central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar
 from central
[artifact:install-provider] Downloading: 
jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar from central
[artifact:install-provider] Downloading: 
org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar
 from central
[artifact:install-provider] Downloading: 
org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar from central
[artifact:install-provider] Downloading: 
commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar from central
[artifact:install-provider] Downloading: 
commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar from 
central
[artifact:deploy] Deploying to 
https://repository.apache.org/content/repositories/snapshots
[artifact:deploy] [INFO] Retrieving previous build number from 
apache.snapshots.https
[artifact:deploy] Uploading: 
org/apache/hadoop/hadoop-common/0.23.0-SNAPSHOT/hadoop-common-0.23.0-20110309.000237-50.jar
 to apache.snapshots.https
[artifact:deploy] Uploaded 1375K
[artifact:deploy] An error has occurred while processing the Maven artifact 
tasks.
[artifact:deploy]  Diagnosis:
[artifact:deploy] 
[artifact:deploy] Error deploying artifact 
'org.apache.hadoop:hadoop-common:jar': Error deploying artifact: Failed to 
transfer file: 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.23.0-SNAPSHOT/hadoop-common-0.23.0-20110309.000237-50.jar.
 Return code is: 500

BUILD FAILED
/grid/0/hudson/hudson-slave/workspace/Hadoop-Common-trunk-Commit/trunk/build.xml:1399:
 Error deploying artifact 'org.apache.hadoop:hadoop-common:jar': Error 
deploying artifact: Failed to transfer file: 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.23.0-SNAPSHOT/hadoop-common-0.23.0-20110309.000237-50.jar.
 Return code is: 500

Total time: 1 minute 17 seconds


==
==
STORE: saving artifacts
==
==


mv: cannot stat `build/*.tar.gz': No such file or directory
mv: cannot stat `build/test/findbugs': No such file or directory
mv: cannot stat `build/docs/api': No such file or directory
Build Failed
[FINDBUGS] Skipping publisher since build result is FAILURE
Recording fingerprints
Archiving artifacts
Recording test results
Publishing Javadoc
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
No tests ran.