[jira] [Created] (HADOOP-9424) The hadoop jar invocation should include the passed jar on the classpath as a whole

2013-03-21 Thread Harsh J (JIRA)
Harsh J created HADOOP-9424:
---

 Summary: The hadoop jar invocation should include the passed jar 
on the classpath as a whole
 Key: HADOOP-9424
 URL: https://issues.apache.org/jira/browse/HADOOP-9424
 Project: Hadoop Common
  Issue Type: Bug
  Components: util
Affects Versions: 2.0.3-alpha
Reporter: Harsh J
Assignee: Harsh J
Priority: Minor


When you have a case such as this:

{{X.jar - Classes = Main, Foo}}
{{Y.jar - Classes = Bar}}

With implementation details such as:

* Main references Bar and invokes a public, static method on it.
* Bar does a class lookup to find Foo (Class.forName(Foo)).

Then when you do a {{HADOOP_CLASSPATH=Y.jar hadoop jar X.jar Main}}, the Bar's 
method fails with a ClassNotFound exception cause of the way RunJar runs.

RunJar extracts the passed jar and includes its contents on the ClassLoader of 
its current thread but the {{Class.forName(…)}} call from another class does 
not check that class loader and hence cannot find the class as its not on any 
classpath it is aware of.

The script of hadoop jar should ideally include the passed jar argument to 
the CLASSPATH before RunJar is invoked, for this above case to pass.

--
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


Re: Help on Hadoop wiki page

2013-03-21 Thread Harsh J
Thanks Robin, I've added your ID into the contributor's group. You should
be able to make the edits yourself now - please go ahead.


On Thu, Mar 21, 2013 at 6:41 PM, Robin Schumacher ro...@datastax.comwrote:

 Harsh - thanks for getting back to me and pointing my request to the right
 place. My ID is RobinSchumacher.

 Regards,

 --Robin


 On Wed, Mar 20, 2013 at 8:33 PM, Harsh J ha...@cloudera.com wrote:

 Hi Robin,

 Moving this to common-dev as thats the right list to send this to. Can
 you pass us your Apache Hadoop Wiki user ID so we can add you in as a
 contributor and you can edit this in yourself (and make any other
 contributions as well)?

 On Wed, Mar 20, 2013 at 8:06 PM, Robin Schumacher ro...@datastax.com
 wrote:
  I apologize in advance if there is another address I should be sending
 this
  to, but could someone please add DataStax to the commercial support
 page on
  the wiki (http://wiki.apache.org/hadoop
  /Distributions%20and%20Commercial%20Support)?
 
  Below is the text we'd like used. Please let us know if you have any
  questions or need any of the text changed.
 
  Thanks in advance.
 
  Robin Schumacher
  VP Products, DataStax
 
 
  DataStax provides a distribution of Hadoop that is fully integrated
 with Apache
  Cassandra
 https://datastax.com/what-we-offer/products-services/datastax-enterprise/apache-cassandra
 
   and Apache Solr
 https://datastax.com/what-we-offer/products-services/datastax-enterprise/apache-solr
 
  in
  its DataStax Enterprise
  platform
 https://datastax.com/what-we-offer/products-services/datastax-enterprise
 .
  DataStax Enterprise is completely free to use for development
 environments
  with no restrictions. In addition, DataStax supplies
  OpsCenter
 https://datastax.com/what-we-offer/products-services/datastax-opscenter
  for
  visual management and monitoring, along with expert
  supporthttps://datastax.com/what-we-offer/products-services/support
  , training 
 https://datastax.com/what-we-offer/products-services/training,
  andconsulting services
 https://datastax.com/what-we-offer/products-services/consulting
   for Hadoop, Cassandra, and Solr.



 --
 Harsh J




 --
 http://www.datastax.com/events/cassandrasummit2013




-- 
Harsh J


Re: [VOTE] Plan to create release candidate for 0.23.7

2013-03-21 Thread Thomas Graves
Thanks everyone for voting. With 4 binding +1, 4 non-binding +1, and no -1
the release plan passes. I will make a release here soon, tentatively
planned for next week once the blockers are all committed.

Tom

On 3/13/13 11:31 AM, Thomas Graves tgra...@yahoo-inc.com wrote:

Hello all,

I think enough critical bug fixes have went in to branch-0.23 that
warrant another release. I plan on creating a 0.23.7 release by the end
March.

Please vote '+1' to approve this plan.  Voting will close on Wednesday
3/20 at 10:00am PDT.

Thanks,
Tom Graves
(release manager)



[jira] [Created] (HADOOP-9425) Add error codes to rpc-response

2013-03-21 Thread Sanjay Radia (JIRA)
Sanjay Radia created HADOOP-9425:


 Summary: Add error codes to rpc-response
 Key: HADOOP-9425
 URL: https://issues.apache.org/jira/browse/HADOOP-9425
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: Sanjay Radia
Assignee: Sanjay Radia




--
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-9427) use jUnit assumptions to skip platform-specific tests

2013-03-21 Thread Arpit Agarwal (JIRA)
Arpit Agarwal created HADOOP-9427:
-

 Summary: use jUnit assumptions to skip platform-specific tests
 Key: HADOOP-9427
 URL: https://issues.apache.org/jira/browse/HADOOP-9427
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Arpit Agarwal
 Fix For: 3.0.0


Certain tests for platform-specific functionality are either executed only on 
Windows or bypass on Windows using checks like if (Path.WINDOWS) e.g. 
TestNativeIO.

Prefer using jUnit assumptions instead.

--
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-9428) TestNativeIO#testRenameTo is broken on Windows

2013-03-21 Thread Arpit Agarwal (JIRA)
Arpit Agarwal created HADOOP-9428:
-

 Summary: TestNativeIO#testRenameTo is broken on Windows
 Key: HADOOP-9428
 URL: https://issues.apache.org/jira/browse/HADOOP-9428
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
 Fix For: 3.0.0




--
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