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

Alejandro Abdelnur updated HDFS-2096:
-------------------------------------

    Attachment: HDFS-2096-AA.sh
                HDFS-2096-AA.patch

Preview (still a few things missing) 

Patch 'AA'

Patch instructions (Same as with HADOOP-6671):

* run the script on trunk/
* apply the patch on trunk/

Building instructions are the same as HADOOP-6671 (explained in 
trunk/BUILDING.txt).

* It build hdfs native.
* It runs the testcases (there are some failures I'm looking into) (see at the 
end of this comment).
* It creates docs & creates TARs with both legacy tar and new binary layouts.
* System/unit tests are not wired.
* Native tests are not wired.

Of course, it requires HADOOP-6671.

The build between common and hdfs is identical and it can be factored out (I'll 
do that as part of follow up JIRA onces things are stable).

I need some help for the following:

* Understanding how/when system/unit test are run.
* Understanding how native tests are setup/run.

For the latter I'd like to break it into another JIRA as it seems not that 
trivial and I'll need help.

Current testcases failures:

{code}
Running org.apache.hadoop.hdfs.TestHDFSServerPorts
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.483 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.blockmanagement.TestHost2NodesMap
Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.blockmanagement.TestReplicationPolicy
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.792 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.namenode.TestCheckpoint
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 138.615 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.common.TestDistributedUpgrade
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.247 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.namenode.TestBlocksWithNotEnoughRacks
Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 71.016 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.namenode.TestEditLogFileOutputStream
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.645 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.TestDFSUpgradeFromImage
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.965 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.TestDatanodeBlockScanner
Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 38.767 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.TestDecommission
Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 151.665 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.namenode.TestStartup
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.425 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.662 sec <<< 
FAILURE!
Running org.apache.hadoop.hdfs.server.namenode.TestNNThroughputBenchmark
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.519 sec <<< 
FAILURE!
Running org.apache.hadoop.cli.TestHDFSCLI
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.169 sec <<< 
FAILURE!
{code}

> Mavenization of hadoop-hdfs
> ---------------------------
>
>                 Key: HDFS-2096
>                 URL: https://issues.apache.org/jira/browse/HDFS-2096
>             Project: Hadoop HDFS
>          Issue Type: Task
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: HDFS-2096-AA.patch, HDFS-2096-AA.sh
>
>
> Same as HADOOP-6671 for hdfs

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

        

Reply via email to