Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Revert Java again
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyuangong committed Mar 6, 2018
1 parent 64e6f2d commit 1b09040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ public class SmartConfKeys {
public static final String SMART_STORAGE_INFO_SAMPLING_INTERVALS_DEFAULT =
"60s,60;1hour,60;1day";

public static final String SMART_STATUS_REPORT_PERIOD_KEY = "smart.status.report.period";
public static final long SMART_STATUS_REPORT_PERIOD_DEFAULT = 1000;

//Tidb
public static final String SMART_TIDB_ENABLED = "smart.tidb.enable";
public static final boolean SMART_TIDB_ENABLED_DEFAULT = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
actionId = "copy2s3",
displayName = "copy2s3",
usage = HdfsAction.FILE_PATH + " $src " + Copy2S3Action.DEST +
" $dest " + Copy2S3Action.BUF_SIZE + " $size"
" $dest "
)
public class Copy2S3Action extends HdfsAction {
private static final Logger LOG =
Expand Down Expand Up @@ -127,8 +127,7 @@ private boolean copySingleFile(String src, String dest) throws IOException {

try {
in = getSrcInputStream(src);
out = CompatibilityHelperLoader
.getHelper().getS3outputStream(dest, conf);
out = CompatibilityHelperLoader.getHelper().getS3outputStream(dest, conf);
byte[] buf = new byte[bufferSize];
long bytesRemaining = getFileSize(src);

Expand Down

0 comments on commit 1b09040

Please sign in to comment.