[jira] [Commented] (HADOOP-11050) hconf.c: fix bug where we would sometimes not try to load multiple XML files from the same path

2014-09-04 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121057#comment-14121057
 ] 

Wenwu Peng commented on HADOOP-11050:
-

Thanks Colin, +1

> hconf.c: fix bug where we would sometimes not try to load multiple XML files 
> from the same path
> ---
>
> Key: HADOOP-11050
> URL: https://issues.apache.org/jira/browse/HADOOP-11050
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Attachments: 001-HADOOP-11050.patch
>
>
> hconf.c: fix bug where we would sometimes not try to load multiple XML files 
> from the same path



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


[jira] [Commented] (HADOOP-10806) ndfs: need to implement umask, pass permission bits to hdfsCreateDirectory

2014-07-10 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058266#comment-14058266
 ] 

Wenwu Peng commented on HADOOP-10806:
-

Thanks Colin for patch, Overview,Looks good for me +1,
There is only minor comment, 
Better to add error code type "ENOTSUP" to hadoop_err.c

+return hadoop_lerr_alloc(ENOTSUP, "parse_permission(%s): "
+"can't parse non-octal permissions (yet)", str);


> ndfs: need to implement umask, pass permission bits to hdfsCreateDirectory
> --
>
> Key: HADOOP-10806
> URL: https://issues.apache.org/jira/browse/HADOOP-10806
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10806-pnative.001.patch
>
>
> We need to pass in permission bits to {{hdfsCreateDirectory}}.  Also, we need 
> to read {{fs.permissions.umask-mode}} so that we know what to mask off of the 
> permission bits (umask is always implemented client-side)



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


[jira] [Commented] (HADOOP-10805) ndfs hdfsDelete should check the return boolean

2014-07-09 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056998#comment-14056998
 ] 

Wenwu Peng commented on HADOOP-10805:
-

+1 Thanks Colin!

> ndfs hdfsDelete should check the return boolean
> ---
>
> Key: HADOOP-10805
> URL: https://issues.apache.org/jira/browse/HADOOP-10805
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Fix For: HADOOP-10388
>
> Attachments: HADOOP-10805-pnative.001.patch
>
>
> The delete RPC to the NameNode returns a boolean.  We need to check this in 
> the pure native client to ensure that the delete actually succeeded.



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


[jira] [Resolved] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-20 Thread Wenwu Peng (JIRA)

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

Wenwu Peng resolved HADOOP-10705.
-

Resolution: Duplicate

Thanks Colin, Mark as duplicate

> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: vargrind.log
>
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==24085== 
> ==24085== HEAP SUMMARY:
> ==24085== in use at exit: 1,216 bytes in 20 blocks
> ==24085==   total heap usage: 89 allocs, 69 frees, 12,222 bytes allocated
> ==24085== 
> ==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
> ==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
> ==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
> ==24085==by 0x4C31868: uv_signal_init (signal.c:225)
> ==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
> ==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
> ==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
> ==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
> ==24085== 
> ==24085== LEAK SUMMARY:
> ==24085==definitely lost: 128 bytes in 1 blocks
> ==24085==indirectly lost: 0 bytes in 0 blocks
> ==24085==  possibly lost: 0 bytes in 0 blocks
> ==24085==still reachable: 1,088 bytes in 19 blocks
> ==24085== suppressed: 0 bytes in 0 blocks
> ==24085== Reachable blocks (those to which a pointer was found) are not shown.
> ==24085== To see them, rerun with: --leak-check=full --show-reachable=yes
> ==24085== 
> ==24085== For counts of detected and suppressed errors, rerun with: -v
> ==24085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)



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


[jira] [Assigned] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-19 Thread Wenwu Peng (JIRA)

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

Wenwu Peng reassigned HADOOP-10705:
---

Assignee: Wenwu Peng

> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: vargrind.log
>
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==24085== 
> ==24085== HEAP SUMMARY:
> ==24085== in use at exit: 1,216 bytes in 20 blocks
> ==24085==   total heap usage: 89 allocs, 69 frees, 12,222 bytes allocated
> ==24085== 
> ==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
> ==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
> ==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
> ==24085==by 0x4C31868: uv_signal_init (signal.c:225)
> ==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
> ==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
> ==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
> ==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
> ==24085== 
> ==24085== LEAK SUMMARY:
> ==24085==definitely lost: 128 bytes in 1 blocks
> ==24085==indirectly lost: 0 bytes in 0 blocks
> ==24085==  possibly lost: 0 bytes in 0 blocks
> ==24085==still reachable: 1,088 bytes in 19 blocks
> ==24085== suppressed: 0 bytes in 0 blocks
> ==24085== Reachable blocks (those to which a pointer was found) are not shown.
> ==24085== To see them, rerun with: --leak-check=full --show-reachable=yes
> ==24085== 
> ==24085== For counts of detected and suppressed errors, rerun with: -v
> ==24085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)



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


common-issues@hadoop.apache.org

2014-06-17 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034884#comment-14034884
 ] 

Wenwu Peng commented on HADOOP-10636:
-

Thank a lot Colin and Binglin for review

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Fix For: HADOOP-10388
>
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch, HADOOP-10636-pnative.005.patch, 
> HADOOP-10636-pnative.006.patch, HADOOP-10636-pnative.007.patch, 
> HADOOP-10636-pnative.008-commit.patch, HADOOP-10636-pnative.008.patch
>
>




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


[jira] [Commented] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-17 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034726#comment-14034726
 ] 

Wenwu Peng commented on HADOOP-10705:
-

Thanks Colin 's detail explanation. Try the in other Linux distro(CentOS 6.4) 
,the valgrind report about getpwuid_r go away, however, there is a report about 
 uv__loop_init still exist, need to care about?

==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
==24085==by 0x4C31868: uv_signal_init (signal.c:225)
==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
==24085== 
 



> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
> Attachments: vargrind.log
>
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==24085== 
> ==24085== HEAP SUMMARY:
> ==24085== in use at exit: 1,216 bytes in 20 blocks
> ==24085==   total heap usage: 89 allocs, 69 frees, 12,222 bytes allocated
> ==24085== 
> ==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
> ==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
> ==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
> ==24085==by 0x4C31868: uv_signal_init (signal.c:225)
> ==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
> ==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
> ==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
> ==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
> ==24085== 
> ==24085== LEAK SUMMARY:
> ==24085==definitely lost: 128 bytes in 1 blocks
> ==24085==indirectly lost: 0 bytes in 0 blocks
> ==24085==  possibly lost: 0 bytes in 0 blocks
> ==24085==still reachable: 1,088 bytes in 19 blocks
> ==24085== suppressed: 0 bytes in 0 blocks
> ==24085== Reachable blocks (those to which a pointer was found) are not shown.
> ==24085== To see them, rerun with: --leak-check=full --show-reachable=yes
> ==24085== 
> ==24085== For counts of detected and suppressed errors, rerun with: -v
> ==24085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)



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


[jira] [Updated] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-17 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10705:


Description: 
Rum valgrind to check memory leak for namenode-rpc.unit.
There are many warning, need to fix it.

valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
./namenode-rpc-unit 
==24085== 
==24085== HEAP SUMMARY:
==24085== in use at exit: 1,216 bytes in 20 blocks
==24085==   total heap usage: 89 allocs, 69 frees, 12,222 bytes allocated
==24085== 
==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
==24085==by 0x4C31868: uv_signal_init (signal.c:225)
==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
==24085== 
==24085== LEAK SUMMARY:
==24085==definitely lost: 128 bytes in 1 blocks
==24085==indirectly lost: 0 bytes in 0 blocks
==24085==  possibly lost: 0 bytes in 0 blocks
==24085==still reachable: 1,088 bytes in 19 blocks
==24085== suppressed: 0 bytes in 0 blocks
==24085== Reachable blocks (those to which a pointer was found) are not shown.
==24085== To see them, rerun with: --leak-check=full --show-reachable=yes
==24085== 
==24085== For counts of detected and suppressed errors, rerun with: -v
==24085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)


  was:
Rum valgrind to check memory leak for namenode-rpc.unit.
There are many warning, need to fix it.

valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
./namenode-rpc-unit 
==10462== Memcheck, a memory error detector
==10462== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==10462== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==10462== Command: ./namenode-rpc-unit
==10462== 
==10462== HEAP SUMMARY:
==10462== in use at exit: 428 bytes in 12 blocks
==10462==   total heap usage: 91 allocs, 79 frees, 16,056 bytes allocated
==10462== 
==10462== 16 bytes in 1 blocks are indirectly lost in loss record 1 of 12
==10462==at 0x4C2B6CD: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10462==by 0x557EB99: __nss_lookup_function (nsswitch.c:456)
==10462==by 0x604863E: ???
==10462==by 0x553744C: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:256)
==10462==by 0x42681E: geteuid_string (user.c:67)
==10462==by 0x425ABD: main (namenode-rpc-unit.c:71)


> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
> Attachments: vargrind.log
>
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==24085== 
> ==24085== HEAP SUMMARY:
> ==24085== in use at exit: 1,216 bytes in 20 blocks
> ==24085==   total heap usage: 89 allocs, 69 frees, 12,222 bytes allocated
> ==24085== 
> ==24085== 128 bytes in 1 blocks are definitely lost in loss record 18 of 20
> ==24085==at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==24085==by 0x4A06B62: realloc (vg_replace_malloc.c:662)
> ==24085==by 0x4C2BD6A: uv__io_start (core.c:679)
> ==24085==by 0x4C31868: uv_signal_init (signal.c:225)
> ==24085==by 0x4C3000E: uv__loop_init (loop.c:136)
> ==24085==by 0x4275EF: hrpc_reactor_create (reactor.c:183)
> ==24085==by 0x426829: hrpc_messenger_create (messenger.c:83)
> ==24085==by 0x42590F: main (namenode-rpc-unit.c:115)
> ==24085== 
> ==24085== LEAK SUMMARY:
> ==24085==definitely lost: 128 bytes in 1 blocks
> ==24085==indirectly lost: 0 bytes in 0 blocks
> ==24085==  possibly lost: 0 bytes in 0 blocks
> ==24085==still reachable: 1,088 bytes in 19 blocks
> ==24085== suppressed: 0 bytes in 0 blocks
> ==24085== Reachable blocks (those to which a pointer was found) are not shown.
> ==24085== To see them, rerun with: --leak-check=full --show-reachable=yes
> ==24085== 
> ==24085== For counts of detected and suppressed errors, rerun with: -v
> ==24085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)



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


common-issues@hadoop.apache.org

2014-06-17 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.008.patch

Thanks Colin 's nice and comments. :)
Version 8 address the comments.

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch, HADOOP-10636-pnative.005.patch, 
> HADOOP-10636-pnative.006.patch, HADOOP-10636-pnative.007.patch, 
> HADOOP-10636-pnative.008.patch
>
>




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


common-issues@hadoop.apache.org

2014-06-17 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.007.patch

Thanks a lot Colin 's great comments, it is helpful!!
And this patch address the comments.

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch, HADOOP-10636-pnative.005.patch, 
> HADOOP-10636-pnative.006.patch, HADOOP-10636-pnative.007.patch
>
>




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


[jira] [Updated] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-16 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10705:


Attachment: vargrind.log

Attach the vargrind log of namenode-rpc-unit

> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
> Attachments: vargrind.log
>
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==10462== Memcheck, a memory error detector
> ==10462== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
> ==10462== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
> ==10462== Command: ./namenode-rpc-unit
> ==10462== 
> ==10462== HEAP SUMMARY:
> ==10462== in use at exit: 428 bytes in 12 blocks
> ==10462==   total heap usage: 91 allocs, 79 frees, 16,056 bytes allocated
> ==10462== 
> ==10462== 16 bytes in 1 blocks are indirectly lost in loss record 1 of 12
> ==10462==at 0x4C2B6CD: malloc (in 
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==10462==by 0x557EB99: __nss_lookup_function (nsswitch.c:456)
> ==10462==by 0x604863E: ???
> ==10462==by 0x553744C: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:256)
> ==10462==by 0x42681E: geteuid_string (user.c:67)
> ==10462==by 0x425ABD: main (namenode-rpc-unit.c:71)



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


[jira] [Commented] (HADOOP-10640) Implement Namenode RPCs in HDFS native client

2014-06-16 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032247#comment-14032247
 ] 

Wenwu Peng commented on HADOOP-10640:
-

bq.Wenwu, Binglin, are you testing the latest version (v3) ? It includes this 
fix:

Hi Colin,

Still get OutOfMemoryException in latest version(v4) ,Could anyone take a look?
OS: Ubuntu 12.04.1

hdfsBuilderConnect: ndfs failed to connect: 
org.apache.hadoop.native.HadoopCore.OutOfMemoryException: 
cnn_get_server_defaults: failed to allocate sync_ctx (error 12)
org.apache.hadoop.native.HadoopCore.OutOfMemoryException: 
cnn_get_server_defaults: failed to allocate sync_ctxerror: did not expect '0': 
'/home/hary/hadoop-common/hadoop-native-core/src/main/native/test/fs/test_libhdfs_meta_ops.c
 at line 60'

> Implement Namenode RPCs in HDFS native client
> -
>
> Key: HADOOP-10640
> URL: https://issues.apache.org/jira/browse/HADOOP-10640
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Fix For: HADOOP-10388
>
> Attachments: HADOOP-10640-pnative.001.patch, 
> HADOOP-10640-pnative.002.patch, HADOOP-10640-pnative.003.patch, 
> HADOOP-10640-pnative.004.patch
>
>
> Implement the parts of libhdfs that just involve making RPCs to the Namenode, 
> such as mkdir, rename, etc.



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


[jira] [Updated] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-16 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10705:


Issue Type: Sub-task  (was: Bug)
Parent: HADOOP-10388

> Fix namenode-rpc-unit  warning reported by memory leak check tool(valgrind)
> ---
>
> Key: HADOOP-10705
> URL: https://issues.apache.org/jira/browse/HADOOP-10705
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>
> Rum valgrind to check memory leak for namenode-rpc.unit.
> There are many warning, need to fix it.
> valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
> ./namenode-rpc-unit 
> ==10462== Memcheck, a memory error detector
> ==10462== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
> ==10462== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
> ==10462== Command: ./namenode-rpc-unit
> ==10462== 
> ==10462== HEAP SUMMARY:
> ==10462== in use at exit: 428 bytes in 12 blocks
> ==10462==   total heap usage: 91 allocs, 79 frees, 16,056 bytes allocated
> ==10462== 
> ==10462== 16 bytes in 1 blocks are indirectly lost in loss record 1 of 12
> ==10462==at 0x4C2B6CD: malloc (in 
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==10462==by 0x557EB99: __nss_lookup_function (nsswitch.c:456)
> ==10462==by 0x604863E: ???
> ==10462==by 0x553744C: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:256)
> ==10462==by 0x42681E: geteuid_string (user.c:67)
> ==10462==by 0x425ABD: main (namenode-rpc-unit.c:71)



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


[jira] [Created] (HADOOP-10705) Fix namenode-rpc-unit warning reported by memory leak check tool(valgrind)

2014-06-16 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10705:
---

 Summary: Fix namenode-rpc-unit  warning reported by memory leak 
check tool(valgrind)
 Key: HADOOP-10705
 URL: https://issues.apache.org/jira/browse/HADOOP-10705
 Project: Hadoop Common
  Issue Type: Bug
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng


Rum valgrind to check memory leak for namenode-rpc.unit.
There are many warning, need to fix it.

valgrind --tool=memcheck --leak-check=full --show-reachable=yes 
./namenode-rpc-unit 
==10462== Memcheck, a memory error detector
==10462== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==10462== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==10462== Command: ./namenode-rpc-unit
==10462== 
==10462== HEAP SUMMARY:
==10462== in use at exit: 428 bytes in 12 blocks
==10462==   total heap usage: 91 allocs, 79 frees, 16,056 bytes allocated
==10462== 
==10462== 16 bytes in 1 blocks are indirectly lost in loss record 1 of 12
==10462==at 0x4C2B6CD: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10462==by 0x557EB99: __nss_lookup_function (nsswitch.c:456)
==10462==by 0x604863E: ???
==10462==by 0x553744C: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:256)
==10462==by 0x42681E: geteuid_string (user.c:67)
==10462==by 0x425ABD: main (namenode-rpc-unit.c:71)



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


common-issues@hadoop.apache.org

2014-06-15 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.006.patch

Fix the memory leak warning reported by valgrind

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch, HADOOP-10636-pnative.005.patch, 
> HADOOP-10636-pnative.006.patch
>
>




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


common-issues@hadoop.apache.org

2014-06-15 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.005.patch

Thanks Colin's comments.
This patch address the comments from Colin, Thanks!!

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch, HADOOP-10636-pnative.005.patch
>
>




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


common-issues@hadoop.apache.org

2014-06-09 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Summary: Native Hadoop Client:add unit test case for call&client_id  (was: 
Native Hadoop Client:add unit test case for call)

> Native Hadoop Client:add unit test case for call&client_id
> --
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch
>
>




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


[jira] [Updated] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-06-09 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.004.patch

Add test cases for client_id

> Native Hadoop Client:add unit test case for call
> 
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch, 
> HADOOP-10636-pnative.004.patch
>
>




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


[jira] [Commented] (HADOOP-10640) Implement Namenode RPCs in HDFS native client

2014-06-08 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021541#comment-14021541
 ] 

Wenwu Peng commented on HADOOP-10640:
-

run command "NAMENODE_URI=hdfs://localhost:8020 ./test_libhdfs_meta_ops" and 
hit this error

hdfsBuilderConnect: ndfs failed to connect: 
org.apache.hadoop.native.HadoopCore.OutOfMemoryException: 
cnn_get_server_defaults: failed to allocate sync_ctx (error 12)
org.apache.hadoop.native.HadoopCore.OutOfMemoryException: 
cnn_get_server_defaults: failed to allocate sync_ctxerror: did not expect '0': 
'/root/hadoop-common/hadoop-native-core/src/main/native/test/fs/test_libhdfs_meta_ops.c
 at line 60'

> Implement Namenode RPCs in HDFS native client
> -
>
> Key: HADOOP-10640
> URL: https://issues.apache.org/jira/browse/HADOOP-10640
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10640-pnative.001.patch, 
> HADOOP-10640-pnative.002.patch, HADOOP-10640-pnative.003.patch
>
>
> Implement the parts of libhdfs that just involve making RPCs to the Namenode, 
> such as mkdir, rename, etc.



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


[jira] [Commented] (HADOOP-10640) Implement Namenode RPCs in HDFS native client

2014-06-04 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018443#comment-14018443
 ] 

Wenwu Peng commented on HADOOP-10640:
-

Thanks Colin big effort.

could you help take a look the warning?
/root/hadoop-common/hadoop-native-core/src/main/native/ndfs/ndfs.c:315: 
warning: ‘defaults.blocksize’ may be used uninitialized in this function


> Implement Namenode RPCs in HDFS native client
> -
>
> Key: HADOOP-10640
> URL: https://issues.apache.org/jira/browse/HADOOP-10640
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Colin Patrick McCabe
>Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10640-pnative.001.patch, 
> HADOOP-10640-pnative.002.patch
>
>
> Implement the parts of libhdfs that just involve making RPCs to the Namenode, 
> such as mkdir, rename, etc.



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


[jira] [Updated] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-06-04 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.003.patch

> Native Hadoop Client:add unit test case for call
> 
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch, HADOOP-10636-pnative.003.patch
>
>




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


[jira] [Work started] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-06-03 Thread Wenwu Peng (JIRA)

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

Work on HADOOP-10636 started by Wenwu Peng.

> Native Hadoop Client:add unit test case for call
> 
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch
>
>




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


[jira] [Updated] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-06-03 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.002.patch

sync with latest structure

> Native Hadoop Client:add unit test case for call
> 
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch, 
> HADOOP-10636-pnative.002.patch
>
>




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


[jira] [Commented] (HADOOP-10624) Fix some minor typos and add more test cases for hadoop_err

2014-05-30 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014380#comment-14014380
 ] 

Wenwu Peng commented on HADOOP-10624:
-

Thanks! Colin 

> Fix some minor typos and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Fix For: HADOOP-10388
>
> Attachments: HADOOP-10624-pnative.001.patch, 
> HADOOP-10624-pnative.002.patch, HADOOP-10624-pnative.003.patch, 
> HADOOP-10624-pnative.004.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Updated] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-30 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10624:


Attachment: HADOOP-10624-pnative.004.patch

> Fix some minors typo and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10624-pnative.001.patch, 
> HADOOP-10624-pnative.002.patch, HADOOP-10624-pnative.003.patch, 
> HADOOP-10624-pnative.004.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Updated] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-29 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10624:


Attachment: HADOOP-10624-pnative.003.patch

Thanks, Colin, Address the long lines issue.

> Fix some minors typo and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10624-pnative.001.patch, 
> HADOOP-10624-pnative.002.patch, HADOOP-10624-pnative.003.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Updated] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-05-29 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10636:


Attachment: HADOOP-10636-pnative.001.patch

submit the first version patch

> Native Hadoop Client:add unit test case for call
> 
>
> Key: HADOOP-10636
> URL: https://issues.apache.org/jira/browse/HADOOP-10636
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10636-pnative.001.patch
>
>




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


[jira] [Created] (HADOOP-10636) Native Hadoop Client:add unit test case for call

2014-05-28 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10636:
---

 Summary: Native Hadoop Client:add unit test case for call
 Key: HADOOP-10636
 URL: https://issues.apache.org/jira/browse/HADOOP-10636
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng






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


[jira] [Updated] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-28 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10624:


Attachment: HADOOP-10624-pnative.002.patch

Thanks Colin great comments.
HADOOP-10624-pnative.002.patch address Colin 's comment.

> Fix some minors typo and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10624-pnative.001.patch, 
> HADOOP-10624-pnative.002.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Work started] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-23 Thread Wenwu Peng (JIRA)

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

Work on HADOOP-10624 started by Wenwu Peng.

> Fix some minors typo and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10624-pnative.001.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Updated] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-21 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10624:


Attachment: HADOOP-10624-pnative.001.patch

submit the first version patch.

> Fix some minors typo and add more test cases for hadoop_err
> ---
>
> Key: HADOOP-10624
> URL: https://issues.apache.org/jira/browse/HADOOP-10624
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10624-pnative.001.patch
>
>
> Changes:
> 1. Add more test cases to cover method hadoop_lerr_alloc and 
> hadoop_uverr_alloc
> 2. Fix typo as following:
> 1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
> hadoop_err.h
> 2) Change OutOfMemory to OutOfMemoryException to consistent with other 
> Exception in hadoop_err.c
> 3) Change DBUG to DEBUG in messenger.c
> 4) Change DBUG to DEBUG in reactor.c



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


[jira] [Created] (HADOOP-10624) Fix some minors typo and add more test cases for hadoop_err

2014-05-21 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10624:
---

 Summary: Fix some minors typo and add more test cases for 
hadoop_err
 Key: HADOOP-10624
 URL: https://issues.apache.org/jira/browse/HADOOP-10624
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng


Changes:
1. Add more test cases to cover method hadoop_lerr_alloc and hadoop_uverr_alloc
2. Fix typo as following:
1) Change hadoop_uverr_alloc(int cod to hadoop_uverr_alloc(int code in 
hadoop_err.h
2) Change OutOfMemory to OutOfMemoryException to consistent with other 
Exception in hadoop_err.c
3) Change DBUG to DEBUG in messenger.c
4) Change DBUG to DEBUG in reactor.c




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


[jira] [Updated] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-19 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10592:


Attachment: HADOOP-10592-pnative.004.patch

Fix a format issue.

> Add unit test case for net in hadoop native client 
> ---
>
> Key: HADOOP-10592
> URL: https://issues.apache.org/jira/browse/HADOOP-10592
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10592-pnative.001.patch, 
> HADOOP-10592-pnative.002.patch, HADOOP-10592-pnative.003.patch, 
> HADOOP-10592-pnative.004.patch
>
>
> Add unit test case for net.c in hadoop native client 



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


[jira] [Updated] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-19 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10592:


Attachment: HADOOP-10592-pnative.003.patch

Thanks a lot for review ,Colin. And address Colin 's comment in patch 
HADOOP-10592-pnative.003.patch

> Add unit test case for net in hadoop native client 
> ---
>
> Key: HADOOP-10592
> URL: https://issues.apache.org/jira/browse/HADOOP-10592
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10592-pnative.001.patch, 
> HADOOP-10592-pnative.002.patch, HADOOP-10592-pnative.003.patch
>
>
> Add unit test case for net.c in hadoop native client 



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


[jira] [Updated] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-16 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10592:


Attachment: HADOOP-10592-pnative.002.patch

update CMakelists.txt file

> Add unit test case for net in hadoop native client 
> ---
>
> Key: HADOOP-10592
> URL: https://issues.apache.org/jira/browse/HADOOP-10592
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10592-pnative.001.patch, 
> HADOOP-10592-pnative.002.patch
>
>
> Add unit test case for net.c in hadoop native client 



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


[jira] [Work started] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-15 Thread Wenwu Peng (JIRA)

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

Work on HADOOP-10592 started by Wenwu Peng.

> Add unit test case for net in hadoop native client 
> ---
>
> Key: HADOOP-10592
> URL: https://issues.apache.org/jira/browse/HADOOP-10592
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10592-pnative.001.patch, 
> HADOOP-10592-pnative.002.patch
>
>
> Add unit test case for net.c in hadoop native client 



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


[jira] [Updated] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-15 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10592:


Attachment: HADOOP-10592-pnative.001.patch

> Add unit test case for net in hadoop native client 
> ---
>
> Key: HADOOP-10592
> URL: https://issues.apache.org/jira/browse/HADOOP-10592
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10592-pnative.001.patch, 
> HADOOP-10592-pnative.002.patch
>
>
> Add unit test case for net.c in hadoop native client 



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


[jira] [Created] (HADOOP-10592) Add unit test case for net in hadoop native client

2014-05-12 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10592:
---

 Summary: Add unit test case for net in hadoop native client 
 Key: HADOOP-10592
 URL: https://issues.apache.org/jira/browse/HADOOP-10592
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng
 Attachments: HADOOP-10592-pnative.001.patch, 
HADOOP-10592-pnative.002.patch

Add unit test case for net.c in hadoop native client 



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


[jira] [Commented] (HADOOP-10389) Native RPCv9 client

2014-05-07 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991573#comment-13991573
 ] 

Wenwu Peng commented on HADOOP-10389:
-

Thanks Yongjun try the patch, CMAKE_CURRENT_LIST_DIR: (since 2.8.3) fixed in 
HADOOP-10573.
Can pass compile in CentOS 64 + cmake 2.8 + libuv 0.11.22 without the workaround

> Native RPCv9 client
> ---
>
> Key: HADOOP-10389
> URL: https://issues.apache.org/jira/browse/HADOOP-10389
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Binglin Chang
>Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10388.001.patch, HADOOP-10389.002.patch, 
> HADOOP-10389.004.patch, HADOOP-10389.005.patch
>
>




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


[jira] [Work started] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-06 Thread Wenwu Peng (JIRA)

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

Work on HADOOP-10573 started by Wenwu Peng.

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch, HADOOP-10573.2.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-06 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Status: Open  (was: Patch Available)

cancel patch to avoid trigger the jenkin job to patch to trunk

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch, HADOOP-10573.2.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Attachment: HADOOP-10573.2.patch

Thanks a lot for review and helpful comment, Colin.
PROJECT_SOURCE_DIR replace CMAKE_CURRENT_LIST_DIR and still keep cmake 2.6.

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch, HADOOP-10573.2.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Component/s: native

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Target Version/s: HADOOP-10388

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: native
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Commented] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989344#comment-13989344
 ] 

Wenwu Peng commented on HADOOP-10573:
-

The failure due to run patch to trunk.

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Attachment: HADOOP-10573.1.patch

fix by correct version

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Updated] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)

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

Wenwu Peng updated HADOOP-10573:


Status: Patch Available  (was: Open)

> Pure Native Client:Correct Cmake version
> 
>
> Key: HADOOP-10573
> URL: https://issues.apache.org/jira/browse/HADOOP-10573
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: HADOOP-10388
>Reporter: Wenwu Peng
>Assignee: Wenwu Peng
> Attachments: HADOOP-10573.1.patch
>
>
> In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
> cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
> (VERSION 2.8) in CMakeLists.txt



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


[jira] [Created] (HADOOP-10573) Pure Native Client:Correct Cmake version

2014-05-05 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10573:
---

 Summary: Pure Native Client:Correct Cmake version
 Key: HADOOP-10573
 URL: https://issues.apache.org/jira/browse/HADOOP-10573
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng


In GeneratProtobufs.cmake, use variable CMAKE_CURRENT_LIST_DIR, it is new for 
cmake version 2.8, so we should change cmake_minimum_required(VERSION 2.6) to 
(VERSION 2.8) in CMakeLists.txt



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


[jira] [Created] (HADOOP-10536) Pure Native Client: implement C code native_mini for YARN for unit test

2014-04-23 Thread Wenwu Peng (JIRA)
Wenwu Peng created HADOOP-10536:
---

 Summary: Pure Native Client: implement C code native_mini for YARN 
for unit test
 Key: HADOOP-10536
 URL: https://issues.apache.org/jira/browse/HADOOP-10536
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: HADOOP-10388
Reporter: Wenwu Peng
Assignee: Wenwu Peng


We need to Implement C code native_mini for YARN for unit test.



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