java.util.regex.PatternSyntaxException

\k is not followed by '<' for named capturing group near index 48 localhost_[0-9]+_job_201607141149_0001_hcltech\kaushik.srinivas_\Qtest_TestDriver.java-3370112959319510186.jar\E+ ^

Solutions on the web572

  • \k is not followed by '<' for named capturing group near index 48 localhost_[0-9]+_job_201607141149_0001_hcltech\kaushik.srinivas_\Qtest_TestDriver.java-3370112959319510186.jar\E+ ^
  • named capturing group is missing trailing '>' near index 11 /(?<account_id>[^/]+) ^
  • via v-lad.org by Unknown author, 1 year ago
    Illegal/unsupported escape sequence near index 45 localhost_[0-9]+_job_201210272120_0001_infor\mganapathy_\QHadoop Test_TestDriver .java-631490389041719967.jar\E+ ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: \k is not followed by '<' for named capturing group near index 48 localhost_[0-9]+_job_201607141149_0001_hcltech\kaushik.srinivas_\Qtest_TestDriver.java-3370112959319510186.jar\E+ ^ at java.util.regex.Pattern.error(Pattern.java:1924) at java.util.regex.Pattern.escape(Pattern.java:2367) at java.util.regex.Pattern.atom(Pattern.java:2164) at java.util.regex.Pattern.sequence(Pattern.java:2097) at java.util.regex.Pattern.expr(Pattern.java:1964) at java.util.regex.Pattern.compile(Pattern.java:1665) at java.util.regex.Pattern.<init>(Pattern.java:1337) at java.util.regex.Pattern.compile(Pattern.java:1022) at org.apache.hadoop.mapred.JobHistory$JobInfo.getJobHistoryFileName(JobHistory.java:638) at org.apache.hadoop.mapred.JobHistory$JobInfo.logSubmitted(JobHistory.java:803) at org.apache.hadoop.mapred.JobInProgress.initTasks(JobInProgress.java:360) at org.apache.hadoop.mapred.EagerTaskInitializationListener$JobInitThread.run(EagerTaskInitializationListener.java:55) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    14 times, 3 months ago
    Once, 4 months ago
    2 times, 5 months ago
    Once, 6 months ago
    23 more bugmates