Skip to content

Commit

Permalink
Revert "Upgrade Alluxio to 2.9.3"
Browse files Browse the repository at this point in the history
This reverts commit a2f056b.
  • Loading branch information
zacw7 committed Jul 27, 2023
1 parent 3a5f84c commit b518c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<dep.nexus-staging-plugin.version>1.6.8</dep.nexus-staging-plugin.version>
<dep.asm.version>9.0</dep.asm.version>
<dep.gcs.version>1.9.17</dep.gcs.version>
<dep.alluxio.version>2.9.3</dep.alluxio.version>
<dep.alluxio.version>2.8.1</dep.alluxio.version>
<dep.slf4j.version>1.7.32</dep.slf4j.version>
<dep.kafka.version>2.3.1</dep.kafka.version>
<dep.pinot.version>0.11.0</dep.pinot.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import com.facebook.presto.hive.HiveFileContext;
import com.google.common.collect.ImmutableMap;

import static com.facebook.presto.common.RuntimeUnit.BYTE;
import static com.facebook.presto.common.RuntimeUnit.NANO;
import static com.facebook.presto.common.RuntimeUnit.NONE;
import static java.util.Objects.requireNonNull;

Expand Down Expand Up @@ -51,18 +49,9 @@ private PrestoCacheContext(HiveFileContext hiveFileContext)
}

@Override
public void incrementCounter(String name, StatsUnit unit, long value)
public void incrementCounter(String name, long value)
{
switch (unit) {
case BYTE:
hiveFileContext.incrementCounter(name, BYTE, value);
break;
case NANO:
hiveFileContext.incrementCounter(name, NANO, value);
break;
default:
hiveFileContext.incrementCounter(name, NONE, value);
}
hiveFileContext.incrementCounter(name, NONE, value);
}

public HiveFileContext getHiveFileContext()
Expand Down

0 comments on commit b518c03

Please sign in to comment.