[
https://issues.apache.org/jira/browse/METRON-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014919#comment-16014919
]
ASF GitHub Bot commented on METRON-958:
---------------------------------------
Github user justinleet commented on the issue:
https://github.com/apache/metron/pull/593
@mmiklavc Not everything gets handled by the auto-formatter,. Still do due
diligence, because there may be some issue but some things will still get
flagged by checkstyle without getting fixed by the autoformatter (e.g. if
params are on newlines, it wants the comma with the previous params.
Autoformat can't (won't?) do anything about it). My experience was that
significantly more checkstyle issues got fixed with the Google profile.
> PCAP Query job throws exception when no files returned by time range query
> --------------------------------------------------------------------------
>
> Key: METRON-958
> URL: https://issues.apache.org/jira/browse/METRON-958
> Project: Metron
> Issue Type: Bug
> Reporter: Michael Miklavcic
> Assignee: Michael Miklavcic
>
> {code}
> bin/pcap_query.sh query -df "yyyyMMddHHmm" -st 201705162000 --query ""
> Exception in thread "main" java.lang.IllegalArgumentException: Can not create
> a Path from an empty string
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:126)
> at org.apache.hadoop.fs.Path.<init>(Path.java:134)
> at
> org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPaths(FileInputFormat.java:485)
> at org.apache.metron.pcap.mr.PcapJob.createJob(PcapJob.java:285)
> at org.apache.metron.pcap.mr.PcapJob.query(PcapJob.java:237)
> at org.apache.metron.pcap.query.PcapCli.run(PcapCli.java:138)
> at org.apache.metron.pcap.query.PcapCli.main(PcapCli.java:53)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> {code}
> For this particular data set, 201705161900 worked fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)