I am getting this error,

test-init:
     [echo] Project: service
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/data
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/logs/clientpositive
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/logs/clientnegative
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/logs/positive
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/logs/negative
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/data/warehouse
    [mkdir] Created dir:
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/data/metadb

test:
     [echo] Project: service

BUILD FAILED
/Users/srinivasanrajivelu/Desktop/hive-latest/src/build.xml:310: Keepgoing
execution: 1 of 12 iterations failed.

Total time: 304 minutes 16 seconds

Still test cases not running.


Could anyone of you have solutions for this problem...

On Mon, Apr 23, 2012 at 1:09 AM, Namit Jain <nj...@fb.com> wrote:

> When you run
>
> ant test -Dtestcase=TestCliDriver
>
>
> Which test fails ?
>
> Also, can you try running the tests in non-debug mode.
> I.e
>
> Do
>
> ant package (Instead of ant -Djavac.debug=on package)
>
>
> -namit
>
>
> On 4/22/12 9:59 PM, "Srinivasan Rajivelu" <srinivasanrajiv...@gmail.com>
> wrote:
>
> >Hi All,
> >       After running ant package, if I run ant test fails,
> >
> >I tried all,
> >
> >ant package
> >ant clean package
> >ant -Djavac.debug=on package
> >
> >I cannot run neither all test cases or positive test cases.
> >
> >ant test
> >
> >ant test -Dtestcase=TestCliDriver
> >
> >
> >Both fails,
> >
> >
> >And hive version that I am using is hive 0.8.1. and Operating System is
> >MacOSX Lion.
> >
> >Error when I run ant test,
> >
> >[junit] 2012-04-15 13:16:25.951 java[39626:1803] Unable to load realm info
> >from SCDynamicStore
> >    [junit] org.apache.thrift.transport.TTransportException: Could not
> >create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
> >    [junit]  at
> >org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:93)
> >    [junit]  at
> >org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:75)
> >    [junit]  at
> >org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.<init>(TServerSock
> >etKeepAlive.java:34)
> >    [junit]  at
> >org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStor
> >e.java:2994)
> >    [junit]  at
> >org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStor
> >e.java:2970)
> >    [junit]  at
> >org.apache.hadoop.hive.metastore.MetaStoreUtils$1.run(MetaStoreUtils.java:
> >740)
> >    [junit]  at java.lang.Thread.run(Thread.java:680)
> >    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 1.235 sec
> >
> >And please tell me how much time it will take to run all test cases. And
> >this is blocking my work. Please help me with this issue.
> >
> >--
> >Thanks & Regards,
> >Srinivasan
> >"Some People dream of success..
> > While others wake up and work hard at it..I am the later."
>
>


-- 
Thanks & Regards,
Srinivasan
"Some People dream of success..
 While others wake up and work hard at it..I am the later."

Reply via email to