tsantalis / RefactoringMiner

MIT License
363 stars 137 forks source link

Timeout Exception apache/camel 2975d7e #601

Closed victorgveloso closed 8 months ago

victorgveloso commented 8 months ago

https://github.com/apache/camel/commit/2975d7e5277f56ede523346eb331a3fe149e932d timed out

137579616 [main] ERROR b.u.d.l.r.o.AnalyzeProjectsHandler - Error analyzing commit 2975d7e5277f56ede523346eb331a3fe149e932d
java.util.concurrent.TimeoutException: null
    at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
    at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detect(GitHistoryRefactoringMinerImpl.java:762)
    at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detectAll(GitHistoryRefactoringMinerImpl.java:808)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.lambda$analyzeProject$0(AnalyzeAllCommits.java:61)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.TaskWithProjectLock.extractProjectPath(TaskWithProjectLock.java:49)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.analyzeProject(AnalyzeAllCommits.java:52)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.doTask(AnalyzeAllCommits.java:45)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.TaskWithProjectLock.doTask(TaskWithProjectLock.java:75)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.main(AnalyzeAllCommits.java:27)
tsantalis commented 8 months ago

@victorgveloso The commit does not exist.

victorgveloso commented 8 months ago

@tsantalis

This commit should be found at https://github.com/apache/hive/commit/2975d7e5277f56ede523346eb331a3fe149e932d

See #607 for further details on how I got this URL

tsantalis commented 8 months ago

Finishes fast within a few seconds.

Refactorings at 2975d7e5277f56ede523346eb331a3fe149e932d Extract Method package instantiateExpression(vecAggrDesc VectorAggregationDesc, hconf Configuration) : VectorAggregateExpression extracted from protected initializeOp(hconf Configuration) : void in class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator Change Class Access Modifier private to package in class org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFBloomFilterMerge.Aggregation Remove Class Annotation @SuppressWarnings("unused") in class org.apache.hive.common.util.BloomKFilter.BitSet Remove Class Annotation @SuppressWarnings({"WeakerAccess","unused"}) in class org.apache.hive.common.util.BloomKFilter Extract Method public mergeBloomFilterBytes(bf1Bytes byte[], bf1Start int, bf1Length int, bf2Bytes byte[], bf2Start int, bf2Length int, mergeStart int, mergeEnd int) : void extracted from public mergeBloomFilterBytes(bf1Bytes byte[], bf1Start int, bf1Length int, bf2Bytes byte[], bf2Start int, bf2Length int) : void in class org.apache.hive.common.util.BloomKFilter Move And Rename Attribute private aggregationBuffers : VectorAggregationBufferRow renamed to protected aggregationBufferSet : VectorAggregationBufferRow and moved from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeGlobalAggregate to class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase Move And Rename Attribute private currentStreamingAggregators : VectorAggregationBufferRow renamed to protected aggregationBufferSet : VectorAggregationBufferRow and moved from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeStreaming to class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase Move And Rename Attribute private groupAggregators : VectorAggregationBufferRow renamed to protected aggregationBufferSet : VectorAggregationBufferRow and moved from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeReduceMergePartial to class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase Change Attribute Access Modifier private to protected in attribute protected aggregationBufferSet : VectorAggregationBufferRow from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase Change Attribute Access Modifier private to protected in attribute protected aggregationBufferSet : VectorAggregationBufferRow from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase Change Attribute Access Modifier private to protected in attribute protected aggregationBufferSet : VectorAggregationBufferRow from class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.ProcessingModeBase