2626import org .apache .hadoop .hbase .client .Admin ;
2727import org .apache .hadoop .hbase .testclassification .LargeTests ;
2828import org .apache .hadoop .hbase .testclassification .VerySlowMapReduceTests ;
29- import org .apache .hadoop .hbase .util .Bytes ;
3029import org .junit .After ;
3130import org .junit .AfterClass ;
3231import org .junit .Before ;
@@ -120,9 +119,8 @@ public void testExportRetry() throws Exception {
120119 conf .setInt (ExportSnapshot .Testing .CONF_TEST_FAILURE_COUNT , 2 );
121120 conf .setInt ("mapreduce.map.maxattempts" , 3 );
122121 TestExportSnapshot .testExportFileSystemState (conf , tableName ,
123- Bytes .toBytes (snapshotName ), Bytes .toBytes (snapshotName ),
124- tableNumFiles , TEST_UTIL .getDefaultRootDirPath (), copyDir , true ,
125- null , true );
122+ snapshotName , snapshotName , tableNumFiles , TEST_UTIL .getDefaultRootDirPath (),
123+ copyDir , true , null , true );
126124 }
127125
128126 /**
@@ -138,7 +136,7 @@ public void testExportFailure() throws Exception {
138136 conf .setInt (ExportSnapshot .Testing .CONF_TEST_FAILURE_COUNT , 4 );
139137 conf .setInt ("mapreduce.map.maxattempts" , 3 );
140138 TestExportSnapshot .testExportFileSystemState (conf , tableName ,
141- Bytes . toBytes ( snapshotName ), Bytes . toBytes ( snapshotName ),
142- tableNumFiles , TEST_UTIL . getDefaultRootDirPath (), copyDir , true , null , false );
139+ snapshotName , snapshotName , tableNumFiles , TEST_UTIL . getDefaultRootDirPath ( ),
140+ copyDir , true , null , false );
143141 }
144142}
0 commit comments