You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Srikanth Sundarrajan (JIRA)" <ji...@apache.org> on 2013/06/09 06:44:21 UTC
[jira] [Commented] (FALCON-11) Add support for security in Falcon
[ https://issues.apache.org/jira/browse/FALCON-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678945#comment-13678945 ]
Srikanth Sundarrajan commented on FALCON-11:
--------------------------------------------
Issues with build: (couldn't get past commons module)
[INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ falcon-common ---
[INFO] Starting audit...
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java:96:50: 'storePath' hides a field.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java:97: 'if' construct must use '{}'s.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java:99:24: 'fs' hides a field.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java:103: 'if' construct must use '{}'s.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/security/AuthenticationInitializationService.java:52: 'if' construct must use '{}'s.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/security/AuthenticationInitializationService.java:67: 'if' construct must use '{}'s.
/projects/incubator-falcon/common/src/main/java/org/apache/falcon/security/AuthenticationInitializationService.java:147: 'if' construct must use '{}'s.
Audit done.
Ignoring checkstyle & findbugs errors to see if tests pass
Tests failing.
......
testShouldUpdate2(org.apache.falcon.update.UpdateHelperTest) Time elapsed: 0.13 sec <<< FAILURE!
org.apache.falcon.FalconException: java.lang.IllegalStateException: No user logged into the system
at org.apache.falcon.security.CurrentUser.getUser(CurrentUser.java:64)
at org.apache.falcon.hadoop.HadoopClientFactory.createProxiedFileSystem(HadoopClientFactory.java:101)
at org.apache.falcon.entity.parser.ProcessEntityParser.validateHDFSpaths(ProcessEntityParser.java:105)
at org.apache.falcon.entity.parser.ProcessEntityParser.validate(ProcessEntityParser.java:62)
at org.apache.falcon.entity.parser.ProcessEntityParser.validate(ProcessEntityParser.java:40)
at org.apache.falcon.entity.parser.EntityParser.parseAndValidate(EntityParser.java:92)
at org.apache.falcon.update.UpdateHelperTest.testShouldUpdate2(UpdateHelperTest.java:85)
Results :
Failed tests:
ClusterEntityParserTest.testParse:83 ? Validation Invalid HDFS server or port:...
FeedUpdateTest.testFeedUpdateWithViolations:126 ? Falcon java.lang.IllegalStat...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
ProcessEntityParserTest.testELExpressions:122 ? Falcon java.lang.IllegalStateE...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
? Test
Expected exception org.apache.falcon.entity.parser.ValidationExceptio...
ProcessEntityParserTest.testOozieFutureExpression:262 ? Falcon java.lang.Illeg...
ProcessEntityParserTest.testOozieLatestExpression:271 ? Falcon java.lang.Illeg...
ProcessEntityParserTest.testParse:80 ? Falcon java.lang.IllegalStateException:...
UpdateHelperTest.testShouldUpdate:105 ? Falcon java.lang.IllegalStateException...
UpdateHelperTest.testShouldUpdate2:85 ? Falcon java.lang.IllegalStateException...
Tests run: 93, Failures: 14, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Build Tools ....................................... SUCCESS [3.024s]
[INFO] Apache Falcon ..................................... SUCCESS [0.776s]
[INFO] Apache Falcon CLI client .......................... SUCCESS [4.058s]
[INFO] Apache Falcon Metrics ............................. SUCCESS [0.089s]
[INFO] Apache Falcon Test Utility ........................ SUCCESS [0.180s]
[INFO] Apache Falcon Commons ............................. FAILURE [1:20.589s]
...
> Add support for security in Falcon
> ----------------------------------
>
> Key: FALCON-11
> URL: https://issues.apache.org/jira/browse/FALCON-11
> Project: Falcon
> Issue Type: Improvement
> Affects Versions: 0.3
> Reporter: Venkatesh Seetharam
> Assignee: Venkatesh Seetharam
> Labels: security
> Fix For: 0.3
>
> Attachments: FALCON-11.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> The following is the break up of tasks for Falcon to be secure and work with secure Hadoop.
> 1. Secure Falcon daemon - needs to login with keytabs
> 2. Secure Hadoop client interface - HDFS
> 3. Secure Oozie client interface
> 4. Secure Falcon Web Interface
> 5. Secure Falcon Client Interface
--
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