Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Erron on Big SQL Lab 6

270003XWTC gravatar image
Question by TiagoMoraes  (3) | Oct 14, 2014 at 05:24 PM hadoopbiginsightsbigsql

I got an error on lab 6. Do you know what I did wrong?

[localhost][biadmin] 1> create hadoop table if not exists testblogs ( [localhost][biadmin] 2> Country String, [localhost][biadmin] 3> Crawled String, [localhost][biadmin] 4> FeedInfo String, [localhost][biadmin] 5> Inserted String, [localhost][biadmin] 6> IsAdult int, [localhost][biadmin] 7> Language String, [localhost][biadmin] 8> Postsize int, [localhost][biadmin] 9> Published String, [localhost][biadmin] 10> SubjectHtml String, [localhost][biadmin] 11> Tags String, [localhost][biadmin] 12> Type String, [localhost][biadmin] 13> Url String ) [localhost][biadmin] 14> row format serde 'org.apache.hadoop.hive.contrib.serde2.JsonSerde' [localhost][biadmin] 15> location '/user/biadmin/sampleData/SerDe-Test'; SQL Exception(s) Encountered: [State: 58004][Code: 15]: BIGSQL-GEN-0010 Found an internal error: 'Failed to execute query 'create hadoop table if not exists testblogs ( Country String, Crawled String, FeedInfo String, Inserted String, IsAdult int, Language String, Postsize int, Published String, SubjectHtml String, Tags String, Type String, Url String ) row format serde 'org.apache.hadoop.hive.contrib.serde2.JsonSerde' location '/user/biadmin/sampleData/SerDe-Test'': line 1:8: unexpected token: hadoop'.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270006E7PS gravatar image
Accepted answer

Answer by Carlos Renteria (26) | Oct 14, 2014 at 10:37 PM

Hi TiagoMoraes,

Looks like you may be using a jdbc connection that is not bigsql.

From jsqsh shell:

====Shell input====

1>\setup

C --for connection wizard option

--verify that the first row is: 1 bigsql db2 bivm.ibm.com 51000

Q

1>\connect bigsql

Password: biadmin -- or the password you chose.

-- prompt should now read the following:

[bivm.ibm.com][biadmin] 1>

====End shell input====

You should now be able to successfully run the create hadoop table statement.

Comment
TiagoMoraes

People who like this

  1   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270003XWTC gravatar image TiagoMoraes (3)   Oct 15, 2014 at 09:20 AM 0
Share

Hi Carlos,

Thanks for your reply, I was using the following command to connect to bigsql: jsqsh -P <password>. I don't know which connection has been used, but after I followed your suggestion worked. Thanks

Tiago Moraes

Follow this question

No one has followed this question yet.

Answers

Answers & comments

Related questions

BIGSQL error is thrown when reading hbase data into bigR dataframe 2 Answers

Practical way to load XML data into Big SQL table? 2 Answers

JSqsh - configuring BigSQL connection - problem 1 Answer

BigR to BigSQL data pull issue 1 Answer

BigSQL precheck script reports an failure - "Hive primary group id check" 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges