You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iceberg.apache.org by ???? <33...@qq.com.INVALID> on 2021/07/09 07:48:25 UTC

iceberg relocated can not import

dear iceberg developer
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I can not import the&nbsp; relocated&nbsp; as follows
&nbsp;import org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap;
import org.apache.iceberg.relocated.com.google.common.collect.Lists;
import org.apache.iceberg.relocated.com.google.common.collect.Maps;
import org.apache.iceberg.relocated.com.google.common.collect.Sets;


how could I import the relocated modle 


thanks

Re: iceberg relocated can not import

Posted by Steven Wu <st...@gmail.com>.
this is usually faster:  "./gradlew iceberg-bundled-guava:build". I believe
that is also what Ryan refers to.

Yeah, I also often find the need to "*Reload All Gradle Projects*" in the
Gradle view.

On Mon, Jul 12, 2021 at 11:51 PM Eduard Tudenhoefner <ed...@dremio.com>
wrote:

> Usually this problem goes away after running "*./gradlew clean build -x
> test -x javadoc -x integrationTest*" but I sometimes also have to "*Reload
> All Gradle Projects*" in the Gradle view.
>
> On Fri, Jul 9, 2021 at 8:30 PM Ryan Blue <bl...@tabular.io> wrote:
>
>> It looks like your problem is probably in an IDE not having the
>> iceberg-bundled-guava Jar indexed. Usually, you just need to build the
>> iceberg-bundled-guava module and then your IDE will pick it up. Kicking off
>> a build on the command line also works.
>>
>> On Fri, Jul 9, 2021 at 11:24 AM ???? <33...@qq.com.invalid> wrote:
>>
>>> dear iceberg developer
>>>       I can not import the  relocated  as follows
>>>  import
>>> org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap;
>>> import org.apache.iceberg.relocated.com.google.common.collect.Lists;
>>> import org.apache.iceberg.relocated.com.google.common.collect.Maps;
>>> import org.apache.iceberg.relocated.com.google.common.collect.Sets;
>>>
>>> how could I import the relocated modle
>>>
>>> thanks
>>>
>>
>>
>> --
>> Ryan Blue
>> Tabular
>>
>

Re: iceberg relocated can not import

Posted by Eduard Tudenhoefner <ed...@dremio.com>.
Usually this problem goes away after running "*./gradlew clean build -x
test -x javadoc -x integrationTest*" but I sometimes also have to "*Reload
All Gradle Projects*" in the Gradle view.

On Fri, Jul 9, 2021 at 8:30 PM Ryan Blue <bl...@tabular.io> wrote:

> It looks like your problem is probably in an IDE not having the
> iceberg-bundled-guava Jar indexed. Usually, you just need to build the
> iceberg-bundled-guava module and then your IDE will pick it up. Kicking off
> a build on the command line also works.
>
> On Fri, Jul 9, 2021 at 11:24 AM ???? <33...@qq.com.invalid> wrote:
>
>> dear iceberg developer
>>       I can not import the  relocated  as follows
>>  import
>> org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap;
>> import org.apache.iceberg.relocated.com.google.common.collect.Lists;
>> import org.apache.iceberg.relocated.com.google.common.collect.Maps;
>> import org.apache.iceberg.relocated.com.google.common.collect.Sets;
>>
>> how could I import the relocated modle
>>
>> thanks
>>
>
>
> --
> Ryan Blue
> Tabular
>

Re: iceberg relocated can not import

Posted by Ryan Blue <bl...@tabular.io>.
It looks like your problem is probably in an IDE not having the
iceberg-bundled-guava Jar indexed. Usually, you just need to build the
iceberg-bundled-guava module and then your IDE will pick it up. Kicking off
a build on the command line also works.

On Fri, Jul 9, 2021 at 11:24 AM ???? <33...@qq.com.invalid> wrote:

> dear iceberg developer
>       I can not import the  relocated  as follows
>  import
> org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap;
> import org.apache.iceberg.relocated.com.google.common.collect.Lists;
> import org.apache.iceberg.relocated.com.google.common.collect.Maps;
> import org.apache.iceberg.relocated.com.google.common.collect.Sets;
>
> how could I import the relocated modle
>
> thanks
>


-- 
Ryan Blue
Tabular