You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Sravya Tirukkovalur <sr...@cloudera.com> on 2013/09/04 05:46:08 UTC
Sentry with IntelliJ
Hi,
I am able to use the link-hadoop as well as the download-hadoop profile
from command line like this and run tests:
mvn -Dhadoop-dist=/path/to/hadoop-downloads clean verify -Plink-hadoop
-Dtest=TestExportImportPrivileges
mvn clean verify -Pdownload-hadoop -Dtest=TestExportImportPrivileges
However, I am having trouble running these tests directly from the IDE both
with link-hadoop and download-hadoop profiles. Can you point me to any
documentation on this if any?
My Intellij project complains "Cannot resolve symbol ql" at import
org.apache.hadoop.hive.ql.exec.Task; I tried adding the hive source folders
to the project as well and I can see ql package at target/hive/src/ql.
Thanks!
--
Sravya Tirukkovalur
Re: Sentry with IntelliJ
Posted by Sravya Tirukkovalur <sr...@cloudera.com>.
IntelliJ was showing a conflict for the dependency
"hive-exec-0.10.0-cdh4.4.0-SNAPSHOT.jar", changing it to a non snapshot jar
resolved the "Cannot resolve symbol ql" issue. Not sure what is causing the
conflict though.
On Tue, Sep 3, 2013 at 8:46 PM, Sravya Tirukkovalur <sr...@cloudera.com>wrote:
> Hi,
>
> I am able to use the link-hadoop as well as the download-hadoop profile
> from command line like this and run tests:
>
> mvn -Dhadoop-dist=/path/to/hadoop-downloads clean verify -Plink-hadoop
> -Dtest=TestExportImportPrivileges
>
> mvn clean verify -Pdownload-hadoop -Dtest=TestExportImportPrivileges
>
> However, I am having trouble running these tests directly from the IDE
> both with link-hadoop and download-hadoop profiles. Can you point me to any
> documentation on this if any?
>
> My Intellij project complains "Cannot resolve symbol ql" at import
> org.apache.hadoop.hive.ql.exec.Task; I tried adding the hive source folders
> to the project as well and I can see ql package at target/hive/src/ql.
>
> Thanks!
> --
> Sravya Tirukkovalur
>
--
Sravya Tirukkovalur