[
https://issues.apache.org/jira/browse/FLINK-7134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093454#comment-16093454
]
ASF GitHub Bot commented on FLINK-7134:
---------------------------------------
Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/4362#discussion_r128310731
--- Diff:
flink-connectors/flink-hcatalog/src/main/java/org/apache/flink/hcatalog/HCatInputFormatBase.java
---
@@ -271,7 +273,7 @@ public BaseStatistics getStatistics(BaseStatistics
cachedStats) throws IOExcepti
JobContext jobContext = null;
try {
- jobContext =
HadoopUtils.instantiateJobContext(configuration, new JobID());
+ jobContext = new JobContextImpl(configuration, new
JobID());
--- End diff --
We can remove the try/catch block here...
> Remove hadoop1.x code in mapreduce.utils.HadoopUtils
> ----------------------------------------------------
>
> Key: FLINK-7134
> URL: https://issues.apache.org/jira/browse/FLINK-7134
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: mingleizhang
> Assignee: mingleizhang
>
> This jira is similar to FLINK-7118. And for a clearer format and a review, I
> separated the two jira.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)