提交 cd6da119 编写于 作者: S Stephan Ewen

[tachyon] Minor fix in codestyle and warnings

上级 543453d4
......@@ -15,11 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.flink.tachyon;
package org.apache.flink.tachyon;
import org.apache.commons.io.IOUtils;
import org.apache.flink.core.fs.FSDataInputStream;
import org.apache.flink.core.fs.FileSystem;
import org.apache.flink.core.fs.Path;
import org.apache.flink.examples.java.wordcount.WordCount;
......
......@@ -25,7 +25,6 @@ import org.apache.flink.configuration.ConfigConstants;
import org.apache.flink.configuration.GlobalConfiguration;
import org.apache.flink.examples.java.wordcount.WordCount;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.junit.After;
import org.junit.Assert;
......@@ -114,7 +113,7 @@ public class TachyonFileSystemWrapperTest {
Configuration conf = new Configuration();
conf.addResource(HADOOP_CONFIG_PATH);
Assert.assertEquals("tachyon.hadoop.TFS", conf.get("fs.tachyon.impl", null));
FileSystem hfs = tPath.getFileSystem(conf);
tPath.getFileSystem(conf);
} catch(Exception e) {
e.printStackTrace();
Assert.fail("Test failed with exception: "+e.getMessage());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册