You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Suhas Vasu (JIRA)" <ji...@apache.org> on 2014/11/11 08:20:34 UTC
[jira] [Comment Edited] (FALCON-885) RequestID is coming as null
for all instance API calls
[ https://issues.apache.org/jira/browse/FALCON-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206067#comment-14206067 ]
Suhas Vasu edited comment on FALCON-885 at 11/11/14 7:20 AM:
-------------------------------------------------------------
This is the extract from the logs for the entity call-
{noformat}
2014-11-11 12:39:41,160 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ Logging in suhas (CurrentUser:63)
2014-11-11 12:39:41,161 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ Request from authenticated user: suhas, URL=/api/entities/delete/cluster/WordCount (FalconAuthenticationFilter:181)
2014-11-11 12:39:41,162 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ {Action:delete, Dimensions:{entityType=cluster, colo=NULL, entityName=WordCount}, Status: SUCCEEDED, Time-taken:391000 ns} (METRIC:38)
2014-11-11 12:39:41,163 DEBUG - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df] ~ Audit: suhas/0:0:0:0:0:0:0:1 performed request https://localhost:15443/api/entities/delete/cluster/WordCount (0:0:0:0:0:0:0:1) at time 2014-11-11T07:09Z (FalconAuditFilter:83)
{noformat}
Please let me know if I have missed something or if you need any further info.
was (Author: suhas.ysr):
This is the extract from the logs -
{noformat}
2014-11-11 12:39:41,160 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ Logging in suhas (CurrentUser:63)
2014-11-11 12:39:41,161 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ Request from authenticated user: suhas, URL=/api/entities/delete/cluster/WordCount (FalconAuthenticationFilter:181)
2014-11-11 12:39:41,162 INFO - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df suhas:DELETE//entities/delete/cluster/WordCount] ~ {Action:delete, Dimensions:{entityType=cluster, colo=NULL, entityName=WordCount}, Status: SUCCEEDED, Time-taken:391000 ns} (METRIC:38)
2014-11-11 12:39:41,163 DEBUG - [546328029@qtp-1208164294-0:2b22db65-547c-416f-bfce-4db3ca74c2df] ~ Audit: suhas/0:0:0:0:0:0:0:1 performed request https://localhost:15443/api/entities/delete/cluster/WordCount (0:0:0:0:0:0:0:1) at time 2014-11-11T07:09Z (FalconAuditFilter:83)
{noformat}
Please let me know if I have missed something or if you need any further info.
> RequestID is coming as null for all instance API calls
> ------------------------------------------------------
>
> Key: FALCON-885
> URL: https://issues.apache.org/jira/browse/FALCON-885
> Project: Falcon
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Suhas Vasu
> Fix For: 0.6
>
>
> The Instance API calls are returning null requestID's in all cases. This shouldn't occur. We need to fix this before we make a release.
> Example API call
> {noformat}
> {"status":"SUCCEEDED","message":"default/SUMMARY\n","requestId":"default/null\n","instancesSummary":[{"cluster":"local","map":{"entry":{"key":"KILLED","value":"3"}}}]}
> {noformat}
> Example CLI command
> {noformat}
> inmobis-MacBook-Pro-3:falcon-0.6-incubating-SNAPSHOT suhas.v$ bin/falcon instance -type process -kill -name WordCount -start 2014-11-09T19:00Z -end 2014-11-09T22:00Z
> Consolidated Status: SUCCEEDED
> Instances:
> Instance Cluster SourceCluster Status Start End Details Log
> -----------------------------------------------------------------------------------------------
> 2014-11-09T21:00Z local - KILLED 2014-11-11T06:11Z 2014-11-11T06:14Z - http://localhost:11000/oozie?job=0000006-141111114025154-oozie-oozi-W
> 2014-11-09T20:00Z local - KILLED 2014-11-11T06:11Z 2014-11-11T06:14Z - http://localhost:11000/oozie?job=0000004-141111114025154-oozie-oozi-W
> 2014-11-09T19:00Z local - KILLED 2014-11-11T06:11Z 2014-11-11T06:14Z - http://localhost:11000/oozie?job=0000002-141111114025154-oozie-oozi-W
> Additional Information:
> Response: default/KILL
> Request Id: default/null
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)