[jira] [Created] (HADOOP-10988) Community build Apache Hadoop 2.5 fails on Ubuntu 14.04

2014-08-20 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-10988:


 Summary: Community build Apache Hadoop 2.5 fails on Ubuntu 14.04
 Key: HADOOP-10988
 URL: https://issues.apache.org/jira/browse/HADOOP-10988
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
Affects Versions: 2.4.1, 2.5.0, 2.2.0
 Environment: x86_64, Ubuntu 14.04, OpenJDK 7
hadoop 2.5 tar file from:  
http://apache.mirrors.pair.com/hadoop/common/hadoop-2.5.0/
Reporter: Amir Sanjar
 Fix For: 2.5.0


Executing any mapreduce applications (i.e. PI) using community version of 
hadoop build from http://apache.mirrors.pair.com/hadoop/common/hadoop-2.5.0/ 
fails with below error message. Rebuilding from source on an Ubuntu system with 
flags "clean -Pnative" fixes the problem.

OpenJDK 64-Bit Server VM warning: You have loaded library 
/home/ubuntu/hadoop/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have 
disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', 
or link it with '-z noexecstack'.
14/08/19 21:24:54 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
java.net.ConnectException: Call From node1.maas/127.0.1.1 to localhost:9000 
failed on connection exception: java.net.ConnectException: Connection refused; 
For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)



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


[jira] [Created] (HADOOP-9465) TestJobImpl->testJobNoTasks fails ..

2013-04-06 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-9465:
---

 Summary: TestJobImpl->testJobNoTasks fails ..
 Key: HADOOP-9465
 URL: https://issues.apache.org/jira/browse/HADOOP-9465
 Project: Hadoop Common
  Issue Type: Bug
  Components: conf
Affects Versions: 2.0.3-alpha
 Environment: Linux + IBM JAVA 6
Reporter: Amir Sanjar


I am not sure if this is a testcase or a design issue. During execution of 
TestJobImpl->testJobNoTasks() there is an assertion made based on the order of 
key/value pairs stored in adjacency list. However adjacency list was created by 
Configuration->getValByRegex() as a HashMap (order is not guaranteed):

Testcase:
JobSubmittedEventHandler jseHandler = new JobSubmittedEventHandler("testId",
"testName", "testNodeName", "\"key2\"=\"value2\" \"key1\"=\"value1\" ");
   
   
try {
  Assert.assertTrue(jseHandler.getAssertValue()); <===

Configuration->getValByRegex():
public Map getValByRegex(String regex) {
Pattern p = Pattern.compile(regex);
Map result = new HashMap(); <===
   

as we all know, HashMap makes absolutely no guarantees about the iteration 
order. It can (and will) even change completely when new elements are added.

Changing HashMap to LinkedHashMap fixes the ordering inconsistency, however 
with a small performance side effect. 

--
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-9430) testcase TestSSLFactory failes with IBM JVM

2013-03-22 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-9430:
---

 Summary: testcase TestSSLFactory failes with IBM JVM
 Key: HADOOP-9430
 URL: https://issues.apache.org/jira/browse/HADOOP-9430
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 2.0.3-alpha
Reporter: Amir Sanjar




--
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-9429) TestConfiguration fails with IBM JAVA

2013-03-22 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-9429:
---

 Summary: TestConfiguration fails with IBM JAVA 
 Key: HADOOP-9429
 URL: https://issues.apache.org/jira/browse/HADOOP-9429
 Project: Hadoop Common
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.3-alpha
Reporter: Amir Sanjar


failure in assertTrue("Result has proper header", result.startsWith(
""));


--
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-9024) Unit Test: TestKerberosAuthenticator fails when tested with ant-1.8.4

2012-11-12 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-9024:
---

 Summary: Unit Test: TestKerberosAuthenticator fails when tested  
with ant-1.8.4
 Key: HADOOP-9024
 URL: https://issues.apache.org/jira/browse/HADOOP-9024
 Project: Hadoop Common
  Issue Type: Bug
  Components: test
Affects Versions: 1.0.4, 1.0.3
 Environment: Linux Fedora 17_64
Reporter: Amir Sanjar
Priority: Minor
 Fix For: 1.0.4, 1.0.3


Problem:
JUnit tag @Ignore is not recognized since the testcase is JUnit3 and not JUnit4:
Solution:
Migrate the testcase to JUnit4
How:

Remove extends TestCase"

SetUp and TearDown methods

@Override
protected void setUp() throws Exception { }

replaced by:

@Before
public void setUp() throws Exception { }

Same for tearDown():

@Override
protected void tearDown() throws Exception { }

replaced by

@After
public void tearDown() throws Exception { }

Imports

The imports has to be reorganized:
Remove import junit.framework.TestCase;
Add org.junit.*; or import org.junit.After; import org.junit.Before;   
import org.junit.Test;

--
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-8802) TestUserGroupInformation testcase fails using IBM JDK 6.0 SR11

2012-09-13 Thread Amir Sanjar (JIRA)
Amir Sanjar created HADOOP-8802:
---

 Summary: TestUserGroupInformation testcase fails using IBM JDK 6.0 
SR11
 Key: HADOOP-8802
 URL: https://issues.apache.org/jira/browse/HADOOP-8802
 Project: Hadoop Common
  Issue Type: Bug
  Components: security
Affects Versions: 1.0.3
 Environment: Build with IBM JAVA 6sr11 sdk, Lunix RHEL 6.2 64bit, 
x86_64
Reporter: Amir Sanjar
 Fix For: 1.0.3


Testsuite: org.apache.hadoop.security.TestUserGroupInformation
Tests run: 10, Failures: 0, Errors: 1, Time elapsed: 0.264 sec
- Standard Output ---
2012-09-13 10:57:59,771 WARN  conf.Configuration 
(Configuration.java:(192)) - DEPRECATED: hadoop-site.xml found in the 
classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, 
mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, 
mapred-default.xml and hdfs-default.xml respectively
sanjar:sanjar dialout desktop_admin_r
-  ---

Testcase: testGetServerSideGroups took 0.036 sec
Caused an ERROR
expected: but was:
at 
org.apache.hadoop.security.TestUserGroupInformation.testGetServerSideGroups(TestUserGroupInformation.java:108)


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