You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/08/08 10:50:30 UTC

[1/2] ignite git commit: TODOs.

Repository: ignite
Updated Branches:
  refs/heads/ignite-1926 b7e2a3357 -> 24229d450


TODOs.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/569be691
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/569be691
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/569be691

Branch: refs/heads/ignite-1926
Commit: 569be691e066d1d86eed5fe2599a57629b03f471
Parents: b7e2a33
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Aug 8 13:42:27 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Aug 8 13:42:27 2016 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/569be691/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
index f89ba69..1eec134 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
@@ -63,7 +63,7 @@ import java.util.Map;
  */
 public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, LifecycleAware {
     /** Default buffer size. */
-    // TODO: Choose proper buffer size.
+    // TODO: IGNITE-3643.
     public static final int DFLT_BUF_SIZE = 8 * 1024;
 
     /** The default user name. It is used if no user context is set. */


[2/2] ignite git commit: TODOs.

Posted by vo...@apache.org.
TODOs.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/24229d45
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/24229d45
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/24229d45

Branch: refs/heads/ignite-1926
Commit: 24229d450c2bf17ab9f5d74910db5f1cdb49eb1b
Parents: 569be69
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Aug 8 13:50:21 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Aug 8 13:50:21 2016 +0300

----------------------------------------------------------------------
 .../hadoop/fs/LocalIgfsSecondaryFileSystem.java | 27 ++++++++++----------
 1 file changed, 14 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/24229d45/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
index 1eec134..184a054 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
@@ -167,7 +167,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public boolean exists(IgfsPath path) {
         try {
-            // TODO
+            // TODO: IGNITE-3644.
             return fileSystemForUser().exists(convert(path));
         }
         catch (IOException e) {
@@ -177,7 +177,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
 
     /** {@inheritDoc} */
     @Nullable @Override public IgfsFile update(IgfsPath path, Map<String, String> props) {
-        // TODO
+        // TODO: IGNITE-3645.
         HadoopIgfsProperties props0 = new HadoopIgfsProperties(props);
 
         final FileSystem fileSys = fileSystemForUser();
@@ -199,7 +199,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
 
     /** {@inheritDoc} */
     @Override public void rename(IgfsPath src, IgfsPath dest) {
-        // TODO
+        // TODO: IGNITE-3638.
         // Delegate to the secondary file system.
         try {
             if (!fileSystemForUser().rename(convert(src), convert(dest)))
@@ -266,7 +266,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
 
     /** {@inheritDoc} */
     @Override public void mkdirs(IgfsPath path, @Nullable Map<String, String> props) {
-        // TODO: IGNITE-3641: Add properties handling.
+        // TODO: IGNITE-3641.
         mkdirs(path);
     }
 
@@ -284,7 +284,8 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
             if (dir.isDirectory())
                 return true; // Already exists, so no-op.
             else
-                return false; // TODO: should we support symlink?
+                // TODO: IGNITE-3646.
+                return false;
         }
         else {
             File parentDir = dir.getParentFile();
@@ -304,7 +305,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public Collection<IgfsPath> listPaths(IgfsPath path) {
         try {
-            // TODO
+            // TODO: IGNITE-3647.
             FileStatus[] statuses = fileSystemForUser().listStatus(convert(path));
 
             if (statuses == null)
@@ -328,7 +329,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public Collection<IgfsFile> listFiles(IgfsPath path) {
         try {
-            // TODO
+            // TODO: IGNITE-3647.
             FileStatus[] statuses = fileSystemForUser().listStatus(convert(path));
 
             if (statuses == null)
@@ -390,14 +391,14 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public OutputStream create(IgfsPath path, int bufSize, boolean overwrite, int replication,
         long blockSize, @Nullable Map<String, String> props) {
-        // TODO: Handle properties.
+        // TODO: IGNITE-3648.
         return create0(path, overwrite, bufSize);
     }
     /** {@inheritDoc} */
     @Override public OutputStream append(IgfsPath path, int bufSize, boolean create,
         @Nullable Map<String, String> props) {
-        // TODO: Handle properties.
-        // TODO: Create flag is not used.
+        // TODO: IGNITE-3648.
+        // TODO: IGNITE-3649.
         try {
             File file = fileForPath(path);
 
@@ -416,7 +417,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public IgfsFile info(final IgfsPath path) {
         try {
-            // TODO
+            // TODO: IGNITE-3650.
             final FileStatus status = fileSystemForUser().getFileStatus(convert(path));
 
             if (status == null)
@@ -490,7 +491,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
     /** {@inheritDoc} */
     @Override public long usedSpaceSize() {
         try {
-            // TODO
+            // TODO: IGNITE-3651.
             // We don't use FileSystem#getUsed() since it counts only the files
             // in the filesystem root, not all the files recursively.
             return fileSystemForUser().getContentSummary(new Path("/")).getSpaceConsumed();
@@ -541,7 +542,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, Li
      * @return Work directory.
      */
     public String getWorkDirectory() {
-        // TODO: Correct work directory support.
+        // TODO: IGNITE-3652.
         return workDir;
     }