nemo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nemo] johnyangk commented on a change in pull request #219: [NEMO-351] Empowering Nemo with fast I/O using Apache Crail
Date Tue, 11 Jun 2019 03:08:58 GMT
johnyangk commented on a change in pull request #219: [NEMO-351] Empowering Nemo with fast
I/O using Apache Crail

 File path: runtime/executor/src/main/java/org/apache/nemo/runtime/executor/data/stores/
 @@ -0,0 +1,174 @@
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+import org.apache.crail.*;
+import org.apache.crail.conf.CrailConfiguration;
+import org.apache.nemo.common.exception.BlockFetchException;
+import org.apache.nemo.conf.JobConf;
+import org.apache.nemo.common.exception.BlockWriteException;
+import org.apache.reef.tang.annotations.Parameter;
+import javax.annotation.concurrent.ThreadSafe;
+import javax.inject.Inject;
+import java.util.Optional;
+ * Stores blocks in CrailStore.
+ * Since the data is stored in CrailStore and globally accessed by multiple nodes,
+ * each read, or deletion for a file needs one instance of {@link CrailFileBlock}.
+ * When CrailFileBlock is created, it's metadata is maintained in memory until the block
is committed.
+ * After the block is committed, the metadata is stored in and read from a CrailStore.
+ */
+public final class CrailFileStore extends AbstractBlockStore implements RemoteFileStore {
+  private final String fileDirectory;
+  private CrailConfiguration conf;
 Review comment:

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message