Skip to content

Commit

Permalink
Move block information into block package
Browse files Browse the repository at this point in the history
  • Loading branch information
gpang committed Aug 10, 2015
1 parent f261923 commit 1102ab7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions servers/src/main/java/tachyon/master/next/BlockMaster.java
Expand Up @@ -35,6 +35,8 @@
import tachyon.master.next.block.BlockLocation;
import tachyon.master.next.block.BlockWorkerInfo;
import tachyon.master.next.block.ContainerIdGenerator;
import tachyon.master.next.block.UserBlockInfo;
import tachyon.master.next.block.UserBlockLocation;
import tachyon.thrift.NetAddress;
import tachyon.util.FormatUtils;

Expand Down
Expand Up @@ -33,6 +33,8 @@
import tachyon.master.Dependency;
import tachyon.master.next.block.BlockId;
import tachyon.master.next.block.BlockWorkerInfo;
import tachyon.master.next.block.UserBlockInfo;
import tachyon.master.next.block.UserBlockLocation;
import tachyon.master.next.filesystem.DependencyMap;
import tachyon.master.next.filesystem.FileBlockInfo;
import tachyon.master.next.filesystem.Inode;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* the License.
*/

package tachyon.master.next;
package tachyon.master.next.block;

import java.util.List;

Expand All @@ -25,7 +25,7 @@ public class UserBlockInfo {
public long mLength;
public List<UserBlockLocation> mLocations;

UserBlockInfo(long blockId, long length, List<UserBlockLocation> locations) {
public UserBlockInfo(long blockId, long length, List<UserBlockLocation> locations) {
mBlockId = blockId;
mLength = length;
mLocations = locations;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* the License.
*/

package tachyon.master.next;
package tachyon.master.next.block;

import tachyon.thrift.NetAddress;

Expand All @@ -25,7 +25,7 @@ public class UserBlockLocation {
public NetAddress mAddress;
public int mTier;

UserBlockLocation(long workerId, NetAddress address, int tier) {
public UserBlockLocation(long workerId, NetAddress address, int tier) {
mWorkerId = workerId;
mAddress = address;
mTier = tier;
Expand Down

0 comments on commit 1102ab7

Please sign in to comment.