Skip to content
Permalink
Browse files
[CODE-STYLE] fix build failure for check-style
Descriptions of the changes in this PR:



### Motivation

PR Validation build is failing with below exception:
```
[ERROR] src/main/java/org/apache/bookkeeper/stream/storage/impl/cluster/ZkClusterInitializer.java:[35] (imports) ImportOrder: Import org.apache.bookkeeper.stream.storage.StorageConstants.getSegmentsRootPath appears after other imports that it should precede
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (default-cli) on project stream-storage-service-impl: You have 1 Checkstyle violation. -> [Help 1]
```

Reviewers: Enrico Olivelli <eolivelli@gmail.com>

This closes #2258 from rdhabalia/checkZk
  • Loading branch information
rdhabalia committed Jan 31, 2020
1 parent e37f3aa commit 6989954e05504c345ae9e50c9c906f8291a6dc02
Showing 1 changed file with 1 addition and 2 deletions.
@@ -19,7 +19,7 @@
package org.apache.bookkeeper.stream.storage.impl.cluster;

import static org.apache.bookkeeper.stream.storage.StorageConstants.ZK_METADATA_ROOT_PATH;

import static org.apache.bookkeeper.stream.storage.StorageConstants.getSegmentsRootPath;
import com.google.common.base.Strings;
import java.net.URI;
import java.util.Optional;
@@ -32,7 +32,6 @@
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.zookeeper.KeeperException;
import static org.apache.bookkeeper.stream.storage.StorageConstants.getSegmentsRootPath;

/**
* ZooKeeper Based Cluster Initializer.

0 comments on commit 6989954

Please sign in to comment.