You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2010/03/17 21:51:27 UTC

[jira] Created: (HADOOP-6637) Benchmark overhead of RPC session establishment

Benchmark overhead of RPC session establishment 
------------------------------------------------

                 Key: HADOOP-6637
                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
             Project: Hadoop Common
          Issue Type: Test
          Components: benchmarks
    Affects Versions: 0.20.2
            Reporter: Konstantin Shvachko
             Fix For: 0.20.3


Measure the latency of RPC session establishments through three mechanisms: 
# simple - no auth 
# kerberos authentication
# delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847526#action_12847526 ] 

Konstantin Shvachko commented on HADOOP-6637:
---------------------------------------------

I ran the benchmark on three versions of hadoop 
# 0.20.1, which does not have any security code, and therefore kerberos and delegation token authentications are not applicable there.
# 0.20.100, which contains the latest state of security implementation
# 0.22.trunk, which does not have all the latest security patches applied at the time of benchmarking (just for the reference)

The benchmark creates a connection to the RPC server 1000 times. Each time the RPC server authenticates the client using one of the three authentication methods (no authentication, kerberos, delegation token). The result if the average latency of the connection request.

The table below shows that 
- when security is turned off the the new code still adds 14% overhead.
- The overhead for kerberos authentication is predictably huge.
- The delegation token authentication was intended as a fast alternative to kerberos. It is somewhat faster, but not as nearly as the non-secure version. This should definitely be the focus of future optimizations.
- 0.22 is 1-2% slower compared to 0.20.100. It is expected to catch up with it, when all latest security contributions are ported to the trunk.

||Version||No security||Kerberos||Delegation Tooken||
|0.20.1  |0.920| | |
|0.20.100|1.047 (+14%)|44.670|42.615|
|0.22    |1.597 (+73%)|45.148|43.455|


> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this.
The patch would not be possible without Jitendra's help on delegation token issues. Thank you Jitendra.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20-100.patch, miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847762#action_12847762 ] 

Hudson commented on HADOOP-6637:
--------------------------------

Integrated in Hadoop-Common-trunk #282 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/282/])
    . Benchmark for establishing RPC session. Contributed by Konstantin Shvachko.


> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20-100.patch, miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: miniRPCBenchmark-21.patch
                miniRPCBenchmark.patch

Reflecting changes to the security branch and adding a patch for 0.21.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846617#action_12846617 ] 

Todd Lipcon commented on HADOOP-6637:
-------------------------------------

Hey Konstantin,

Will you be posting a table of the results here too? Should be very interesting.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Status: Patch Available  (was: Open)

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: miniRPCBenchmark-20.patch

A similar becnhmark for the 0.20 branch. It only runs in non-authenticated mode, because obviously there is no security there yet. But we will be able to compare how much overhead the security code adds when we don't use it.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment:     (was: UGCRefresh.patch)

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: UGCRefresh.patch

A minor correction to JavaDoc, and a merge with current trunk.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko reassigned HADOOP-6637:
-------------------------------------------

    Assignee: Konstantin Shvachko

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847695#action_12847695 ] 

Jitendra Nath Pandey commented on HADOOP-6637:
----------------------------------------------

+1

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847699#action_12847699 ] 

Hudson commented on HADOOP-6637:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #205 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/205/])
    . Benchmark for establishing RPC session. Contributed by Konstantin Shvachko.


> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20-100.patch, miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846727#action_12846727 ] 

Hadoop QA commented on HADOOP-6637:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12439099/miniRPCBenchmark.patch
  against trunk revision 923619.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 10 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/36/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/36/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/36/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h1.grid.sp2.yahoo.net/36/console

This message is automatically generated.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846663#action_12846663 ] 

Suresh Srinivas commented on HADOOP-6637:
-----------------------------------------

Minor comment - rename TestMiniRPCBencmark.java to TestMiniRPCBenchmark.java (missing 'h')
 

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: miniRPCBenchmark-20-100.patch

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20-100.patch, miniRPCBenchmark-20.patch, miniRPCBenchmark-21.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: miniRPCBenchmark.patch

The patch includes MiniRPCBenchmark, the test, and the change to the script file, which makes the benchmark runnable using 
{code}
bin/hadoop org.apache.hadoop.ipc.MiniRPCBenchmark
{code}
An excerpt from JavaDoc:
{{MiniRPCBenchmark}} measures time to establish an RPC connection to a secure RPC server. It sequentially establishes connections the specified number of times, and calculates the average time taken to connect. The time to connect includes the server side authentication time. 
The benchmark supports three authentication methods:
# simple - no authentication. In order to enter this mode the configuration file {{core-site.xml}} should specify {{hadoop.security.authentication = simple}}. This is the default mode.
# kerberos - kerberos authentication. In order to enter this mode the configuration file {{core-site.xml}} should specify {{hadoop.security.authentication = kerberos}} and the argument string should provide qualifying keytabFile and userName parameters.
# delegation token - authentication using delegation token. In order to enter this mode the benchmark should provide all the mentioned parameters for kerberos authentication plus the useToken argument option. 

Input arguments:
* numIterations - number of connections to establish
* keytabFile - keytab file for kerberos authentication
* userName - principal name for kerberos authentication
* useToken - should be specified for delegation token authentication
* logLevel - logging level, see Level

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6637) Benchmark overhead of RPC session establishment

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-6637:
----------------------------------------

    Attachment: miniRPCBenchmark.patch

Fixed the typo, and slightly improved JavaDoc.
Todd. I am planning to post results, yes.

> Benchmark overhead of RPC session establishment 
> ------------------------------------------------
>
>                 Key: HADOOP-6637
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6637
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: benchmarks
>    Affects Versions: 0.20.2
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.20.3
>
>         Attachments: miniRPCBenchmark-20.patch, miniRPCBenchmark.patch, miniRPCBenchmark.patch
>
>
> Measure the latency of RPC session establishments through three mechanisms: 
> # simple - no auth 
> # kerberos authentication
> # delegation token  authentication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.