[ https://issues.apache.org/jira/browse/CASSANDRA-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harish Doddi resolved CASSANDRA-3965. ------------------------------------- Resolution: Fixed > Cassandra code base has files with import statements having "*" causing > compilation failure > ------------------------------------------------------------------------------------------- > > Key: CASSANDRA-3965 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3965 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.0.8 > Environment: Linux > Reporter: Harish Doddi > > I tried to download a jar as part of the new unit test I am writing. I ran my > unit test successfully but later if I run "ant" without ant clean, I run into > the following compilation issue > {code} > build-project: > [echo] apache-cassandra: /Users/harish/workspace/cassandra/build.xml > [javac] Compiling 40 source files to > /Users/harish/workspace/cassandra/build/classes/thrift > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] Compiling 568 source files to > /Users/harish/workspace/cassandra/build/classes/main > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1607: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Iterable<DecoratedKey<?>> keySamples(Range<Token> > range) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:196: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Collection<Range<Token>> getLocalRanges(String table) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:201: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Range<Token> getLocalPrimaryRange() > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:912: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Map<Range<Token>, List<InetAddress>> > getRangeToAddressMap(String keyspace) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1009: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Map<Range<Token>, List<InetAddress>> > constructRangeToEndpointMap(String keyspace, List<Range<Token>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1009: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Map<Range<Token>, List<InetAddress>> > constructRangeToEndpointMap(String keyspace, List<Range<Token>> ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1438: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<InetAddress, Range<Token>> > getNewSourceRanges(String table, Set<Range<Token>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1438: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<InetAddress, Range<Token>> > getNewSourceRanges(String table, Set<Range<Token>> ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1554: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<Range<Token>, InetAddress> > getChangedRangesForLeaving(String table, InetAddress endpoint) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1975: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public AntiEntropyService.RepairFuture forceTableRepair(final > Range<Token> range, final String tableName, final String... columnFamilies) > throws IOException > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2017: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Range<Token> getPrimaryRangeForEndpoint(InetAddress ep) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2027: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> getRangesForEndpoint(String table, > InetAddress ep) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2038: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public List<Range<Token>> getAllRanges(List<Token> > sortedTokens) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2128: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public List<Token> getSplits(String table, String cfName, > Range<Token> range, int keysPerSplit) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2152: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private List<DecoratedKey> > keySamples(Iterable<ColumnFamilyStore> cfses, Range<Token> range) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2762: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private CountDownLatch streamRanges(final Map<String, > Multimap<Range<Token>, InetAddress>> rangesToStreamByTable) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2816: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private CountDownLatch requestRanges(final Map<String, > Multimap<InetAddress, Range<Token>>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1607: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Iterable<DecoratedKey<?>> keySamples(Range<Token> > range) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:196: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Collection<Range<Token>> getLocalRanges(String table) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:201: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Range<Token> getLocalPrimaryRange() > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:912: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Map<Range<Token>, List<InetAddress>> > getRangeToAddressMap(String keyspace) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1009: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Map<Range<Token>, List<InetAddress>> > constructRangeToEndpointMap(String keyspace, List<Range<Token>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1009: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Map<Range<Token>, List<InetAddress>> > constructRangeToEndpointMap(String keyspace, List<Range<Token>> ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1438: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<InetAddress, Range<Token>> > getNewSourceRanges(String table, Set<Range<Token>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1438: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<InetAddress, Range<Token>> > getNewSourceRanges(String table, Set<Range<Token>> ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1554: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private Multimap<Range<Token>, InetAddress> > getChangedRangesForLeaving(String table, InetAddress endpoint) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1975: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public AntiEntropyService.RepairFuture forceTableRepair(final > Range<Token> range, final String tableName, final String... columnFamilies) > throws IOException > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2017: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Range<Token> getPrimaryRangeForEndpoint(InetAddress ep) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2027: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> getRangesForEndpoint(String table, > InetAddress ep) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2038: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public List<Range<Token>> getAllRanges(List<Token> > sortedTokens) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2128: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public List<Token> getSplits(String table, String cfName, > Range<Token> range, int keysPerSplit) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2152: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private List<DecoratedKey> > keySamples(Iterable<ColumnFamilyStore> cfses, Range<Token> range) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2762: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private CountDownLatch streamRanges(final Map<String, > Multimap<Range<Token>, InetAddress>> rangesToStreamByTable) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2816: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] private CountDownLatch requestRanges(final Map<String, > Multimap<InetAddress, Range<Token>>> ranges) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2866: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] public Pair<Set<Range<Token>>, Set<Range<Token>>> > calculateStreamAndFetchRanges(Collection<Range<Token>> current, > Collection<Range<Token>> updated) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:393: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range range = new Range<Token>(token, token); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:393: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range range = new Range<Token>(token, token); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1328: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] assert !(range instanceof Range) || > !((Range)range).isWrapAround() || range.right.isMinimum() : range; > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1328: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] assert !(range instanceof Range) || > !((Range)range).isWrapAround() || range.right.isMinimum() : range; > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:853: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<Range<Token>,List<InetAddress>> entry : > getRangeToAddressMap(keyspace).entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:884: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<Range<Token>, List<InetAddress>> entry : > getRangeToAddressMap(keyspace).entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:904: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<Range<Token>, Collection<InetAddress>> > entry : tokenMetadata_.getPendingRanges(keyspace).entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:919: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] List<Range<Token>> ranges = > getAllRanges(tokenMetadata_.sortedTokens()); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:959: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<Range<Token>, List<InetAddress>> entry : > getRangeToAddressMap(keyspace).entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:961: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range range = entry.getKey(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1011: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<Range<Token>, List<InetAddress>> rangeToEndpointMap = > new HashMap<Range<Token>, List<InetAddress>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1011: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<Range<Token>, List<InetAddress>> rangeToEndpointMap = > new HashMap<Range<Token>, List<InetAddress>>(); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1012: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1356: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> pendingRanges = > HashMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1368: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<InetAddress, Range<Token>> addressRanges = > strategy.getAddressRanges(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1374: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> affectedRanges = new > HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1374: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> affectedRanges = new > HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1380: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : affectedRanges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1399: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : > strategy.getAddressRanges(allLeftMetadata).get(endpoint)) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1417: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : > strategy.getAddressRanges(allLeftMetadata).get(endpoint)) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1441: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> rangeAddresses = > Table.open(table).getReplicationStrategy().getRangeAddresses(tokenMetadata_); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1442: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<InetAddress, Range<Token>> sourceRanges = > HashMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1446: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1507: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<String, Map.Entry<InetAddress, > Collection<Range<Token>>>> rangesToFetch = HashMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1513: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> changedRanges = > getChangedRangesForLeaving(table, endpoint); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1514: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> myNewRanges = new > HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1514: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> myNewRanges = new > HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1515: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<Range<Token>, InetAddress> entry : > changedRanges.entries()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1520: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<InetAddress, Range<Token>> sourceRanges = > getNewSourceRanges(table, myNewRanges); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1521: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<InetAddress, Collection<Range<Token>>> > entry : sourceRanges.asMap().entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1530: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<InetAddress, Collection<Range<Token>>> > entry : rangesToFetch.get(table)) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1533: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> ranges = > entry.getValue(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1557: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> ranges = > getRangesForEndpoint(table, endpoint); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1562: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<Range<Token>, List<InetAddress>> > currentReplicaEndpoints = new HashMap<Range<Token>, List<InetAddress>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1562: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<Range<Token>, List<InetAddress>> > currentReplicaEndpoints = new HashMap<Range<Token>, List<InetAddress>>(); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1565: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1575: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> changedRanges = > HashMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1582: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1916: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> ranges = > getLocalRanges(tableName); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1921: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : ranges) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2045: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] List<Range<Token>> ranges = new ArrayList<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2045: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] List<Range<Token>> ranges = new ArrayList<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2049: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range<Token> range = new > Range<Token>(sortedTokens.get(i - 1), sortedTokens.get(i)); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2049: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range<Token> range = new > Range<Token>(sortedTokens.get(i - 1), sortedTokens.get(i)); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2052: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range<Token> range = new > Range<Token>(sortedTokens.get(size - 1), sortedTokens.get(0)); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2052: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range<Token> range = new > Range<Token>(sortedTokens.get(size - 1), sortedTokens.get(0)); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2164: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Range<Token> range = getLocalPrimaryRange(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2253: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<Range<Token>, InetAddress>> > rangesToStream = new HashMap<String, Multimap<Range<Token>, InetAddress>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2253: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<Range<Token>, InetAddress>> > rangesToStream = new HashMap<String, Multimap<Range<Token>, InetAddress>>(); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2257: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> rangesMM = > getChangedRangesForLeaving(table, FBUtilities.getBroadcastAddress()); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2323: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<InetAddress, Range<Token>>> > rangesToFetch = new HashMap<String, Multimap<InetAddress, Range<Token>>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2323: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<InetAddress, Range<Token>>> > rangesToFetch = new HashMap<String, Multimap<InetAddress, Range<Token>>>(); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2324: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<Range<Token>, InetAddress>> > rangesToStreamByTable = new HashMap<String, Multimap<Range<Token>, > InetAddress>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2324: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Map<String, Multimap<Range<Token>, InetAddress>> > rangesToStreamByTable = new HashMap<String, Multimap<Range<Token>, > InetAddress>>(); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2336: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> currentRanges = > getRangesForEndpoint(table, localAddress); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2338: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> updatedRanges = > strategy.getPendingAddressRanges(tokenMetadata_, newToken, localAddress); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2342: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> rangeAddresses = > strategy.getRangeAddresses(tokenMetadata_); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2345: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Pair<Set<Range<Token>>, Set<Range<Token>>> > rangesPerTable = calculateStreamAndFetchRanges(currentRanges, updatedRanges); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2345: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Pair<Set<Range<Token>>, Set<Range<Token>>> > rangesPerTable = calculateStreamAndFetchRanges(currentRanges, updatedRanges); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2351: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> > rangesToFetchWithPreferredEndpoints = ArrayListMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2352: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> toFetch : rangesPerTable.right) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2354: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> range : rangeAddresses.keySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2367: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> > rangeWithEndpoints = HashMultimap.create(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2369: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Range<Token> toStream : rangesPerTable.left) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2379: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<InetAddress, Range<Token>> workMap = > RangeStreamer.getWorkMap(rangesToFetchWithPreferredEndpoints); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2507: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> changedRanges = > getChangedRangesForLeaving(table, endpoint); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2765: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<String, Multimap<Range<Token>, > InetAddress>> entry : rangesToStreamByTable.entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2767: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<Range<Token>, InetAddress> > rangesWithEndpoints = entry.getValue(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2777: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] final Set<Map.Entry<Range<Token>, InetAddress>> > pending = new HashSet<Map.Entry<Range<Token>, > InetAddress>>(rangesWithEndpoints.entries()); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2777: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] final Set<Map.Entry<Range<Token>, InetAddress>> > pending = new HashSet<Map.Entry<Range<Token>, > InetAddress>>(rangesWithEndpoints.entries()); > [javac] > ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2779: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (final Map.Entry<Range<Token>, InetAddress> > endPointEntry : rangesWithEndpoints.entries()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2781: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] final Range<Token> range = endPointEntry.getKey(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2819: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] for (Map.Entry<String, Multimap<InetAddress, > Range<Token>>> entry : ranges.entrySet()) > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2821: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Multimap<InetAddress, Range<Token>> > endpointWithRanges = entry.getValue(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2835: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Collection<Range<Token>> toFetch = > endpointWithRanges.get(source); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2868: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> toStream = new HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2868: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> toStream = new HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2869: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> toFetch = new HashSet<Range<Token>>(); > [javac] ^ > [javac] > /Users/harish/workspace/cassandra/src/java/org/apache/cassandra/service/StorageService.java:2869: > reference to Range is ambiguous, both class org.apache.cassandra.dht.Range > in org.apache.cassandra.dht and class com.google.common.collect.Range in > com.google.common.collect match > [javac] Set<Range<Token>> toFetch = new HashSet<Range<Token>>(); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 100 errors > BUILD FAILED > /Users/harish/workspace/cassandra/build.xml:704: Compile failed; see the > compiler error output for details. > {code} > I think the jar that I imported as part of unit tests has further some > dependencies. After looking into some of the sources files I see that some > files like ColumnFamilyStore.java have statements like > {code} > import com.google.common.collect.*; > import org.apache.cassandra.dht.*; > {code} > It seems like if instead of importing "*" if we import the exact class, we > will not run into this compilation failure. I would be happy to patch this if > somebody could approve this? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira