Alt+Enter (on linux) gives a new maven dependency:
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>1.2.1</version>
<scope>test</scope>
</dependency>
and after this import statements aren't highlighted.
But all hive tests aren't running after that!
2016-02-10 19:53 GMT+02:00 Sudheesh Katkam <[email protected]>:
> I have the same issue. Sometimes, in IntelliJ, I have to manually add the
> Hive jars to the class path (press option + return on Mac). And sometimes,
> the hive subproject pom file changes, which I do not commit. I have not
> investigated what the underlying issue is.
>
> > On Feb 10, 2016, at 9:39 AM, Vitalii Diravka <[email protected]>
> wrote:
> >
> > I use IntelliJ IDEA
> >
> > 2016-02-10 19:38 GMT+02:00 Abdel Hakim Deneche <[email protected]>:
> >
> >> Are you using Eclipse or IntelliJ ?
> >>
> >> On Wed, Feb 10, 2016 at 9:29 AM, Vitalii Diravka <
> >> [email protected]>
> >> wrote:
> >>
> >>> Yes, I am. Version of maven is 3.3.3.
> >>> No error. "mvn clean install -DskipTests" is built successfully.
> >>> But import statements have missing classes (in HiveTestUDFImpls,
> >>> TestSqlStdBasedAuthorization,
> >>> TestStorageBasedHiveAuthorization classes).
> >>> Looks like some library is missing in
> >>>
> >>
> /home/vitalii/ProjectSource/drillforhive/contrib/storage-hive/core/pom.xml
> >>>
> >>> 2016-02-10 18:38 GMT+02:00 Abdel Hakim Deneche <[email protected]
> >:
> >>>
> >>>> Are you using maven ? what error message are you seeing ?
> >>>>
> >>>> On Wed, Feb 10, 2016 at 4:39 AM, Vitalii Diravka <
> >>>> [email protected]>
> >>>> wrote:
> >>>>
> >>>>> I saw unresolved dependencies in
> >>>>> /drill/contrib/storage-hive/core/src/test/java/org/apache/drill/exec/
> >>>>> in the latest version github.com/apache/drill.
> >>>>> Which library must be added to pom.xml?
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> Abdelhakim Deneche
> >>>>
> >>>> Software Engineer
> >>>>
> >>>> <http://www.mapr.com/>
> >>>>
> >>>>
> >>>> Now Available - Free Hadoop On-Demand Training
> >>>> <
> >>>>
> >>>
> >>
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> >>>>>
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Abdelhakim Deneche
> >>
> >> Software Engineer
> >>
> >> <http://www.mapr.com/>
> >>
> >>
> >> Now Available - Free Hadoop On-Demand Training
> >> <
> >>
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> >>>
> >>
>
>